kernel: reset nwatchpt in pexit
This commit is contained in:
parent
773be02aa1
commit
cd1f44b5c0
1 changed files with 1 additions and 0 deletions
|
@ -1213,6 +1213,7 @@ pexit(char *exitstr, int freemem)
|
|||
free(up->watchpt);
|
||||
up->watchpt = nil;
|
||||
}
|
||||
up->nwatchpt = 0;
|
||||
qunlock(&up->debug);
|
||||
|
||||
/* Sched must not loop for these locks */
|
||||
|
|
Loading…
Reference in a new issue