Skip to content

Commit

Permalink
- MFH: Fixed issues with Xdebug stalling/crashing when detaching from…
Browse files Browse the repository at this point in the history
… remote

  debugging.

SVN Rev: 2759
  • Loading branch information
derickr committed May 21, 2008
1 parent 19392c4 commit 0217f30
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xdebug_handler_dbgp.c
Expand Up @@ -1386,6 +1386,9 @@ DBGP_FUNC(detach)
xdebug_xml_add_attribute(*retval, "status", xdebug_dbgp_status_strings[DBGP_STATUS_STOPPED]);
xdebug_xml_add_attribute(*retval, "reason", xdebug_dbgp_reason_strings[XG(reason)]);
XG(remote_enabled) = 0;
XG(stdout_redirected) = 0;
XG(stderr_redirected) = 0;
XG(stdin_redirected) = 0;
xdebug_close_socket(context->socket);
}

Expand Down Expand Up @@ -2210,7 +2213,7 @@ static int xdebug_dbgp_parse_option(xdebug_con *context, char* line, int flags,

char *xdebug_dbgp_get_revision(void)
{
return "$Revision: 1.125.2.4 $";
return "$Revision: 1.125.2.5 $";
}

static int xdebug_dbgp_cmdloop(xdebug_con *context, int bail TSRMLS_DC)
Expand Down

0 comments on commit 0217f30

Please sign in to comment.