projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Another bug fix: always set the busy flag when telling a subthread
[u/mdw/putty]
/
windows
/
winhandl.c
diff --git
a/windows/winhandl.c
b/windows/winhandl.c
index
c7dc65b
..
a5b7c69
100644
(file)
--- a/
windows/winhandl.c
+++ b/
windows/winhandl.c
@@
-391,6
+391,7
@@
void handle_free(struct handle *h)
*/
h->u.g.moribund = TRUE;
h->u.g.done = TRUE;
+ h->u.g.busy = TRUE;
SetEvent(h->u.g.ev_from_main);
}
}
@@
-424,6
+425,7
@@
void handle_got_event(HANDLE event)
handle_destroy(h);
} else {
h->u.g.done = TRUE;
+ h->u.g.busy = TRUE;
SetEvent(h->u.g.ev_from_main);
}
return;