diff options
author | aiju <devnull@localhost> | 2017-06-12 19:19:05 +0000 |
---|---|---|
committer | aiju <devnull@localhost> | 2017-06-12 19:19:05 +0000 |
commit | cd1f44b5c0443119be845ad9558c079cfe0c5bb0 (patch) | |
tree | 2af2ebf5d11c4f8822bb335a6f4c2bac41904ed1 /sys/src/9/port/proc.c | |
parent | 773be02aa18095e857c6659416d84951ceb60d41 (diff) |
kernel: reset nwatchpt in pexit
Diffstat (limited to 'sys/src/9/port/proc.c')
-rw-r--r-- | sys/src/9/port/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c index 2425f32a2..3b391252f 100644 --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -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 */ |