mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05: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)
|
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:
|
* If there's a read operation already in progress, do nothing:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user