You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up of #72 and #74
Already seeing much better cleanup and far less CPU is used after the destructor is called, getting much closer to being done :)
There is still some FrameTicker straggler that isn't being cleaned up, though I'm not 100% sure why or where it's coming from.
It looks like we need this._isRunning set to false to fully kill FrameTicker. It's a bit surprising that FrameTicker's destructor wouldn't take care of that.
It looks like we need this._isRunning set to false to fully kill FrameTicker. It's a bit surprising that FrameTicker's destructor wouldn't take care of that.
I used the latest version and was still seeing some loops around those areas, but I might have been following a red herring due to FrameTicker not ensuring the animation got stopped
Follow-up of #72 and #74
Already seeing much better cleanup and far less CPU is used after the destructor is called, getting much closer to being done :)
There is still some FrameTicker straggler that isn't being cleaned up, though I'm not 100% sure why or where it's coming from.
It looks like we need
this._isRunning
set to false to fully kill FrameTicker. It's a bit surprising that FrameTicker's destructor wouldn't take care of that.This animation isn't being stopped:
three-globe/src/globe-kapsule.js
Line 363 in 75fb074
This animation seems to not be cleaned up?
https://github.com/vasturiano/globe.gl/blob/805f2c018c89c2bcb3a9a4951b686960e0c0b213/src/globe.js#L249
The text was updated successfully, but these errors were encountered: