forked from qt-creator/qt-creator
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:
@@ -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()
|
||||
|
@@ -32,6 +32,7 @@ import re
|
||||
import time
|
||||
import json
|
||||
import inspect
|
||||
import threading
|
||||
|
||||
if sys.version_info[0] >= 3:
|
||||
xrange = range
|
||||
|
Reference in New Issue
Block a user