[Lldb-commits] [lldb] r255104 - Fix a cleanup error in TestPlatformProcessConnect.py

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 9 02:16:06 PST 2015


Author: tberghammer
Date: Wed Dec  9 04:16:05 2015
New Revision: 255104

URL: http://llvm.org/viewvc/llvm-project?rev=255104&view=rev
Log:
Fix a cleanup error in TestPlatformProcessConnect.py

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py?rev=255104&r1=255103&r2=255104&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py Wed Dec  9 04:16:05 2015
@@ -28,7 +28,7 @@ class TestPlatformProcessConnect(gdbremo
 
         new_debugger = lldb.SBDebugger.Create()
         new_debugger.SetAsync(False)
-        def del_debugger():
+        def del_debugger(new_debugger=new_debugger):
             del new_debugger
         self.addTearDownHook(del_debugger)
 




More information about the lldb-commits mailing list