Remove old, unused parameter from NodeRelay

dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
Grzegorz Rychlik 2020-01-07 17:09:52 +01:00
parent 0111f01a58
commit bb5173a265
1 changed files with 3 additions and 4 deletions

View File

@ -9,10 +9,10 @@ BOOL WINAPI DllMain(HINSTANCE, DWORD, LPVOID)
/// Starts a NodeRelay.
/// @param leaveImmediately if false then waits for Relay to be shut down internally by a C3 API Command.
extern "C" __declspec(dllexport) void StartNodeRelay(bool leaveImmediately)
extern "C" __declspec(dllexport) void StartNodeRelay()
{
MWR::WinTools::StructuredExceptionHandling::SehWrapper(
[leaveImmediately]()
[]()
{
try
{
@ -24,8 +24,7 @@ extern "C" __declspec(dllexport) void StartNodeRelay(bool leaveImmediately)
EmbeddedData::Instance()[2],
EmbeddedData::Instance().FindMatching(3));
if (leaveImmediately)
relay->Join();
relay->Join();
}
catch (...)
{