mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-23 04:14:18 +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;
|
||||
}
|
||||
}
|
||||
|
||||
if (client->pty_len <= 0) break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user