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

Method destroy

app/views/core/RootComponent.js:45–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 destroy () {
46 if (this.vuexModule) {
47 store.unregisterModule('page')
48 }
49 this.vueComponent.$destroy()
50 this.vueComponent.$store = silentStore
51 // ignore all further changes to the store, since the module has been unregistered.
52 // may later want to just ignore mutations and actions to the page module.
53 return super.destroy()
54 }
55 }
56 RootComponent.initClass()
57 return RootComponent

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected