mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-11 08:05:16 -08:00
Fix several bugs found in new server scanner code (#146)
This commit is contained in:
committed by
Lee *!* Clagett
parent
cd62461578
commit
8080159fc8
@@ -27,6 +27,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <boost/asio/coroutine.hpp>
|
||||
#include <boost/asio/dispatch.hpp>
|
||||
#include <boost/asio/write.hpp>
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
@@ -167,7 +168,7 @@ namespace lws { namespace rpc { namespace scanner
|
||||
|
||||
if (msg.empty())
|
||||
{
|
||||
self->cleanup();
|
||||
boost::asio::dispatch(self->strand_, [self] () { self->cleanup(); });
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user