Fix waiting forever if gpbs crashes within a certain window

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@39095 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2015-10-27 19:41:45 +00:00
parent 29a7f09e56
commit 627b1751d5

View file

@ -1999,6 +1999,10 @@ static NSMapTable *mimeMap = NULL;
Protocol *p = @protocol(GSPasteboardSvr);
[conn enableMultipleThreads];
// Testplant-MAL-2015.10.27...
// Fix issue with waiting forever if gpbs crashes within a
// certain processing window...
[conn setReplyTimeout:5.0];
[(id)the_server setProtocolForProxy: p];
[[NSNotificationCenter defaultCenter]
addObserver: self