Skip to content

WindowComponent now unsubscribes from its subscriptions when destroyed.

Ghost User requested to merge fix/unsubscribtion-bug into develop

Created by: S4K4YUME

fixes #228 (closed)

The fix

Subscribing to an Observable returns a Subscription. We weren't doing anything with these and hence they could stick around for longer then expected.

Now as soon as destroyScene is called, the WindowComponent also unsubscribes from the two running subscriptions.

Merge request reports

Loading