Exit if server startup fails
This commit is contained in:
@@ -70,7 +70,7 @@ StratumServer::StratumServer(p2pool* pool)
|
||||
const int err = uv_async_init(&m_loop, &m_blobsAsync, on_blobs_ready);
|
||||
if (err) {
|
||||
LOGERR(1, "uv_async_init failed, error " << uv_err_name(err));
|
||||
return;
|
||||
panic();
|
||||
}
|
||||
m_blobsAsync.data = this;
|
||||
m_blobsQueue.reserve(2);
|
||||
|
||||
Reference in New Issue
Block a user