mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fixed a bug connecting to the build server on startup
This commit is contained in:
parent
7f08842864
commit
a1c343b97d
1 changed files with 12 additions and 4 deletions
|
|
@ -106,10 +106,18 @@ public:
|
||||||
server = createClangServer (command);
|
server = createClangServer (command);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (connectToPipe (pipeName, 10000))
|
for (int i = 0; i < 20; ++i)
|
||||||
MessageTypes::sendPing (*this);
|
{
|
||||||
else
|
if (connectToPipe (pipeName, 10000))
|
||||||
jassertfalse;
|
{
|
||||||
|
MessageTypes::sendPing (*this);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
Thread::sleep (50);
|
||||||
|
}
|
||||||
|
|
||||||
|
jassert (isConnected());
|
||||||
|
|
||||||
startTimer (serverKeepAliveTimeout);
|
startTimer (serverKeepAliveTimeout);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue