MCPcopy
hub / github.com/bberak/react-native-game-engine / componentWillUnmount

Method componentWillUnmount

src/GameEngine.js:57–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 componentWillUnmount() {
58 this.stop();
59 this.timer.unsubscribe(this.updateHandler);
60 if (this.touchProcessor.end) this.touchProcessor.end();
61 }
62
63 UNSAFE_componentWillReceiveProps(nextProps) {
64 if (nextProps.running !== this.props.running) {

Callers

nothing calls this directly

Calls 2

stopMethod · 0.80
unsubscribeMethod · 0.80

Tested by

no test coverage detected