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

Method componentWillUnmount

src/GameLoop.js:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 componentWillUnmount() {
24 this.stop();
25 this.timer.unsubscribe(this.updateHandler);
26 if (this.touchProcessor.end) this.touchProcessor.end();
27 }
28
29 UNSAFE_componentWillReceiveProps(nextProps) {
30 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