paddybyers / anode

Android framework for node.js applications
Other
583 stars 80 forks source link

Can not restart a node.js instance. #32

Closed JarshChen closed 9 years ago

JarshChen commented 9 years ago

Hi To start a node.js instance is ok, but stop and then restart it will always fail.

The below is the logcat log. 01-13 23:52:47.909: V/libjninode(20777): Java_org_meshpoint_anode_RuntimeNative_create ent 01-13 23:52:47.909: V/libjninode(20777): Java_org_meshpoint_anode_RuntimeNative_create ret 01-13 23:52:47.909: V/anode::Isolate(20777): Isolate.run(): setting context 01-13 23:52:47.909: V/bridge-core(20777): Env::setupEnv(): ent 01-13 23:52:47.909: V/bridge-core(20777): Env::initThread(): ent 01-13 23:52:47.909: V/bridge-core(20777): Env::initThread(): ret 01-13 23:52:47.909: V/bridge-core(20777): Env::setupEnv(): ret 01-13 23:52:47.909: V/anode::Isolate(20777): Isolate.run(): set context 01-13 23:52:47.909: V/anode::Isolate(20777): stateState: state = 2 01-13 23:52:47.909: V/libjninode(20777): Java_org_meshpoint_anode_RuntimeNative_start: ent 01-13 23:52:47.909: V/libjninode(20777): getNativeArgs: ent 01-13 23:52:47.909: V/libjninode(20777): getNativeArgs: ret 2 01-13 23:52:48.349: V/libjninode(20777): Java_org_meshpoint_anode_RuntimeNative_start: ret 1 01-13 23:52:48.349: V/anode::Isolate(20777): stateState: state = 4 Did anyone experience this problem? Thank you.

JarshChen commented 9 years ago

The issue is the same as https://github.com/paddybyers/anode/issues/25 so close it.