~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
We _can_ have handle_throttle() called on defunct handles after all,
[sgt/putty]
/
windows
/
winhandl.c
diff --git
a/windows/winhandl.c
b/windows/winhandl.c
index
a5b7c69
..
e45eb9b
100644
(file)
--- a/
windows/winhandl.c
+++ b/
windows/winhandl.c
@@
-122,7
+122,8
@@
static DWORD WINAPI handle_input_threadfunc(void *param)
*/
static void handle_throttle(struct handle_input *ctx, int backlog)
{
- assert(!ctx->defunct);
+ if (ctx->defunct)
+ return;
/*
* If there's a read operation already in progress, do nothing: