Skip to content
Permalink
Browse files

websocket, bugfix: when the websocket fails to connect very quickly, …

…the process does not keep.
  • Loading branch information...
xicilion committed Apr 4, 2019
1 parent b545b0d commit 84a898122b45fc26ba37c169585ac540000453dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 fibjs/src/websocket/WebSocket.cpp
@@ -327,8 +327,8 @@ result_t WebSocket_base::_new(exlib::string url, v8::Local<v8::Object> opts,
virtual int32_t error(int32_t v)
{
m_this->m_holder.Release();
m_this->isolate_unref();
m_this->endConnect(1002, "");
m_this->isolate_unref();
return v;
}

0 comments on commit 84a8981

Please sign in to comment.
You can’t perform that action at this time.