mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 15:05:53 +00:00
Stop whichever endpoint is running.
This commit is contained in:
@@ -111,7 +111,11 @@ void WSDoor::stop()
|
||||
{
|
||||
if (mThread)
|
||||
{
|
||||
mEndpoint->stop();
|
||||
if (mEndpoint)
|
||||
mEndpoint->stop();
|
||||
if (mSEndpoint)
|
||||
mSEndpoint->stop();
|
||||
|
||||
|
||||
mThread->join();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user