diff options
Diffstat (limited to 'bitbake/lib/bb/server')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 3 |
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 | |||
28 | import datetime | 28 | import datetime |
29 | import pickle | 29 | import pickle |
30 | import traceback | 30 | import traceback |
31 | import gc | ||
31 | import bb.server.xmlrpcserver | 32 | import bb.server.xmlrpcserver |
32 | from bb import daemonize | 33 | from bb import daemonize |
33 | from multiprocessing import queues | 34 | from 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) |