mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
We _can_ have handle_throttle() called on defunct handles after all,
so it should just do nothing rather than failing an assertion. [originally from svn r6807]
This commit is contained in:
parent
8a3c123bd7
commit
421a5ece2c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user