Set the members of a destroyed debug_context to invalid values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13774 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -44,6 +44,10 @@ destroy_debug_context(debug_context *context)
|
|||||||
if (context) {
|
if (context) {
|
||||||
if (context->reply_port >= 0)
|
if (context->reply_port >= 0)
|
||||||
delete_port(context->reply_port);
|
delete_port(context->reply_port);
|
||||||
|
|
||||||
|
context->team = -1;
|
||||||
|
context->nub_port = -1;
|
||||||
|
context->reply_port = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user