Debugger: Remove output lock from cdb bridge

There's no threading involved on the cdb/python side.

Change-Id: Ibc1ad6fb5242a86450ca15f65cb57e4cae99d6ed
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2016-10-07 11:13:11 +02:00
parent 4f2557e9cf
commit 311adfeff7
2 changed files with 2 additions and 3 deletions

View File

@@ -26,7 +26,6 @@
import inspect
import os
import sys
import threading
import cdbext
sys.path.insert(1, os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))))
@@ -217,8 +216,7 @@ class Dumper(DumperBase):
self.reportResult(self.output, args)
def report(self, stuff):
with self.outputLock:
sys.stdout.write(stuff + "\n")
sys.stdout.write(stuff + "\n")
def loadDumpers(self, args):
msg = self.setupDumpers()

View File

@@ -32,6 +32,7 @@ import re
import time
import json
import inspect
import threading
if sys.version_info[0] >= 3:
xrange = range