[IPCHandler] Only start the worker when running a client

This commit is contained in:
momo5502 2017-01-29 22:56:22 +01:00
parent 3d8a1010c2
commit a97260122a

View File

@ -129,7 +129,7 @@ namespace Components
IPCHandler::IPCHandler()
{
if (Dedicated::IsEnabled()) return;
if (Dedicated::IsEnabled() || ZoneBuilder::IsEnabled() || Loader::PerformingUnitTests()) return;
IPCHandler::InitChannels();
IPCHandler::StartWorker();