File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ public function export(LoopModelInterface $loop, $all = false)
389389 $ loop ->stop ();
390390
391391 $ list = $ all === true ? $ this : $ this ->getTransferableProperties ();
392- foreach ($ this as $ key =>$ val )
392+ foreach ($ list as $ key =>$ val )
393393 {
394394 $ loop ->$ key = $ this ->$ key ;
395395 }
@@ -407,7 +407,7 @@ public function import(LoopModelInterface $loop, $all = false)
407407 $ loop ->stop ();
408408
409409 $ list = $ all === true ? $ this : $ this ->getTransferableProperties ();
410- foreach ($ this as $ key =>$ val )
410+ foreach ($ list as $ key =>$ val )
411411 {
412412 $ this ->$ key = $ loop ->$ key ;
413413 }
@@ -425,7 +425,7 @@ public function swap(LoopModelInterface $loop, $all = false)
425425 $ loop ->stop ();
426426
427427 $ list = $ all === true ? $ this : $ this ->getTransferableProperties ();
428- foreach ($ this as $ key =>$ val )
428+ foreach ($ list as $ key =>$ val )
429429 {
430430 $ tmp = $ loop ->$ key ;
431431 $ loop ->$ key = $ this ->$ key ;
@@ -505,7 +505,8 @@ private function getTransferableProperties()
505505 {
506506 return [
507507 'nextTickQueue ' => null ,
508- 'futureTickQueue ' => null
508+ 'futureTickQueue ' => null ,
509+ 'flowController ' => null
509510 ];
510511 }
511512}
You can’t perform that action at this time.
0 commit comments