Skip to content

Commit 57047f2

Browse files
committed
[gdb] Initialize self.server_exited_func
This missing initialization means we throw an exception when the server exits, instead of showing a message and clearing the jsdbg global.
1 parent 3d10bb1 commit 57047f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/JsDbg.Stdio/JsDbgBase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def __call__(self):
3838
def __init__(self, module, post_event_func, server_exited_func, verbose):
3939
self.module = module
4040
self.post_event_func = post_event_func
41+
self.server_exited_func = server_exited_func
4142
self.showStderr = True
4243
self.verbose = verbose
4344
rootDir = os.path.dirname(os.path.abspath(__file__))

0 commit comments

Comments
 (0)