summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/server')
-rw-r--r--bitbake/lib/bb/server/process.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index ce53fdc678..19ef83980f 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -28,6 +28,7 @@ import re
28import datetime 28import datetime
29import pickle 29import pickle
30import traceback 30import traceback
31import gc
31import bb.server.xmlrpcserver 32import bb.server.xmlrpcserver
32from bb import daemonize 33from bb import daemonize
33from multiprocessing import queues 34from multiprocessing import queues
@@ -739,8 +740,10 @@ class ConnectionWriter(object):
739 self.event = self 740 self.event = self
740 741
741 def _send(self, obj): 742 def _send(self, obj):
743 gc.disable()
742 with self.wlock: 744 with self.wlock:
743 self.writer.send_bytes(obj) 745 self.writer.send_bytes(obj)
746 gc.enable()
744 747
745 def send(self, obj): 748 def send(self, obj):
746 obj = multiprocessing.reduction.ForkingPickler.dumps(obj) 749 obj = multiprocessing.reduction.ForkingPickler.dumps(obj)