mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-23 12:14:20 +01:00
protocol: exit thread as soon as the command terminate, fixes #112
This commit is contained in:
committed by
Shuanglei Tao
parent
10b479e4b8
commit
f95cacd61b
@@ -218,6 +218,8 @@ thread_run_command(void *args) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (client->pty_len <= 0) break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user