MCPcopy Create free account
hub / github.com/codecombat/codecombat / cleanup

Method cleanup

app/views/editor/verifier/VerifierTest.js:357–370  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

355 }
356
357 cleanup () {
358 if (this.checkClampedProperties) {
359 this.printClampedPropertiesResult()
360 }
361 if (this.levelLoader) {
362 this.stopListening(this.levelLoader)
363 this.levelLoader.destroy()
364 }
365 if (this.god) {
366 this.stopListening(this.god)
367 this.god.destroy()
368 }
369 this.world = null
370 }
371}

Callers

nothing calls this directly

Calls 2

destroyMethod · 0.45

Tested by

no test coverage detected