lolney / bottleneck

Multiplayer base defense game with scripting-based problem solving
https://www.bottleneck.world/
0 stars 0 forks source link

withSocket listeners not being properly removed #101

Closed lolney closed 6 years ago

lolney commented 6 years ago

To reproduce:

Triggers the warning message: Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. in WithSocket (created by WithSocketFetch) in WithSocketFetch in div (created by Window) in div (created by Window) in DraggableCore (created by Draggable) in Draggable (created by Window) in Window

Listeners are being removed here, though.