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
Occasionally when calling FlxG.resumeSounds() I'm getting a NPE. I think there's a timing problem where a sound finishes and _channel is set to null by the 'stop' callback within FlxSound. There's no guard when accessing _channel in the resume method - maybe the access should be synchronised and guarded ?
Thanks,
Tim
The text was updated successfully, but these errors were encountered:
Hi,
Occasionally when calling FlxG.resumeSounds() I'm getting a NPE. I think there's a timing problem where a sound finishes and _channel is set to null by the 'stop' callback within FlxSound. There's no guard when accessing _channel in the resume method - maybe the access should be synchronised and guarded ?
Thanks,
Tim
The text was updated successfully, but these errors were encountered: