Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaton committed Jun 18, 2024
1 parent 2113bb7 commit e72778e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lightning/app/core/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
from lightning.app.utilities.enum import AppStage, CacheCallsKeys
from lightning.app.utilities.exceptions import CacheMissException, ExitAppException, LightningFlowException
from lightning.app.utilities.layout import _collect_layout
from lightning.app.utilities.proxies import ComponentDelta
from lightning.app.utilities.proxies import ComponentDelta, unwrap
from lightning.app.utilities.scheduler import SchedulerThread
from lightning.app.utilities.tree import breadth_first
from lightning.app.utilities.warnings import LightningFlowWarning
Expand Down Expand Up @@ -535,6 +535,7 @@ def _run(self) -> bool:
for work in self.works:
_backend = work._backend
work._backend = None
work.run = unwrap(work.run)
self.backend._register_queues(self, work)
self.backend.create_work(self, work)
work._backend = _backend
Expand Down

0 comments on commit e72778e

Please sign in to comment.