mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fixed the massive memory leak.
This commit is contained in:
parent
a8c483a59f
commit
13caae2690
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class Angel
|
|||
@purgatoryTimer = null
|
||||
if @worker
|
||||
worker = @worker
|
||||
_.defer -> worker.terminate
|
||||
_.defer -> worker.terminate()
|
||||
@worker.removeEventListener 'message', @onWorkerMessage
|
||||
@worker = null
|
||||
@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue