We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f9bb24 commit 9de4a6eCopy full SHA for 9de4a6e
index.js
@@ -83,7 +83,7 @@ class StaticServer {
83
kill() {
84
this.stop();
85
this.started = false;
86
- AppState.addEventListener('change', this._handleAppStateChange.bind(this));
+ AppState.removeEventListener('change', this._handleAppStateChange.bind(this));
87
}
88
89
_handleAppStateChange(appState) {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-native-static-server",
3
- "version": "0.2.0",
+ "version": "0.2.1",
4
"repository": "https://github.com/futurepress/react-native-static-server",
5
"description": "HTTP static file server for React Native",
6
"main": "index.js",
0 commit comments