Skip to content

Commit ed1237e

Browse files
Merge pull request #28 from TheEightBot/feature/vm-disposal
2 parents 46ebe09 + 0726df2 commit ed1237e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Stellar/ViewManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public ViewManager()
5858
{
5959
_controlBindings = new(this);
6060

61-
_lifecycleEvents = new(() => new Subject<LifecycleEvent>().DisposeWith(_controlBindings), LazyThreadSafetyMode.ExecutionAndPublication);
62-
_navigationEvents = new(() => new Subject<NavigationEvent>().DisposeWith(_controlBindings), LazyThreadSafetyMode.ExecutionAndPublication);
61+
_lifecycleEvents = new(() => new Subject<LifecycleEvent>(), LazyThreadSafetyMode.ExecutionAndPublication);
62+
_navigationEvents = new(() => new Subject<NavigationEvent>(), LazyThreadSafetyMode.ExecutionAndPublication);
6363
}
6464

6565
public void Dispose()

0 commit comments

Comments
 (0)