diff options
Diffstat (limited to 'byterun/debugger.c')
-rw-r--r-- | byterun/debugger.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/byterun/debugger.c b/byterun/debugger.c index dfcc6c6acd..2dccb87033 100644 --- a/byterun/debugger.c +++ b/byterun/debugger.c @@ -131,7 +131,6 @@ static void open_connection(void) #endif dbg_in = caml_open_descriptor_in(dbg_socket); dbg_out = caml_open_descriptor_out(dbg_socket); - dbg_out->refcount++; /* prevent deallocation at finalization, MPR#7609 */ if (!caml_debugger_in_use) caml_putword(dbg_out, -1); /* first connection */ #ifdef _WIN32 caml_putword(dbg_out, _getpid()); @@ -144,7 +143,6 @@ static void open_connection(void) static void close_connection(void) { caml_close_channel(dbg_in); - dbg_out->refcount--; caml_close_channel(dbg_out); dbg_socket = -1; /* was closed by caml_close_channel */ } |