[IPCPipe] Disable when building zones

This commit is contained in:
momo5502 2017-04-08 17:29:07 +02:00
parent 8b22a1ff70
commit ddddf9914d

View File

@ -206,7 +206,7 @@ namespace Components
IPCPipe::IPCPipe()
{
if (Dedicated::IsEnabled() || Monitor::IsEnabled() || Loader::PerformingUnitTests()) return;
if (Dedicated::IsEnabled() || Monitor::IsEnabled() || Loader::PerformingUnitTests() || ZoneBuilder::IsEnabled()) return;
// Server pipe
IPCPipe::ServerPipe.onConnect(IPCPipe::ConnectClient);