Websocket disconnection causes a crash

I have websocket connected via JSB. When it gets disconnected, crash occurs like below:
(cocos2d-x is update-to-date via git)

I/DEBUG ( 8130): #01 5fbb1ed0 5f94be38
I/DEBUG ( 8130): 5fbb1ed4 5da614c9 /data/data/com.redduck.first/lib/libgame.so (std::Mem_fn<void (cocos2d::extension::WsThreadHelper::)()>::operator const+20)
I/DEBUG : 5fbb1ed8 5f94be4c
I/DEBUG : 5fbb1edc 5da614d7 /data/data/com.redduck.first/lib/libgame.so > > >::*M_run()+12)
I/DEBUG ( 8130): 5fbb1ee0 5da614cb /data/data/com.redduck.first/lib/libgame.so (std::thread::Impl<std::_Bind_simple<std::_Mem_fn<void (cocos2d::extension::WsThreadHelper::)()> > >::*M_run())
I/DEBUG ( 8130): 5fbb1ee4 5dc6fa38 /data/data/com.redduck.first/lib/libgame.so
I/DEBUG ( 8130): 5fbb1ee8 5fbb1f00
I/DEBUG ( 8130): 5fbb1eec 400fde04 /system/lib/libc.so (__thread_entry+52)
I/DEBUG ( 8130): 5fbb1ef0 5f94be68
I/DEBUG ( 8130): 5fbb1ef4 5fbb1f00
I/DEBUG ( 8130): 5fbb1ef8 40125274 /system/lib/libc.so
I/DEBUG ( 8130): 5fbb1efc 400fd55c /system/lib/libc.so (pthread_create+176)
I/DEBUG ( 8130): 5fbb1f00 5fbb1f00
I/DEBUG ( 8130): 5fbb1f04 5f94be68
I/DEBUG ( 8130): 5fbb1f08 00000000
I/DEBUG ( 8130): 5fbb1f0c 00000000

Exact the same error with mine~~ can anyone help me:(

it show a pop window under widows 7: “This Application has requested the Runtime to terminate it in an unusual way…” but it works on properly on android

Grab latest cocos2d-x from github, and check my PR.