mirror of
https://github.com/zyllian/classics.git
synced 2025-05-10 00:06:40 -07:00
add /stop command
This commit is contained in:
parent
e49e35fe82
commit
d5530a1449
4 changed files with 44 additions and 13 deletions
|
@ -467,6 +467,10 @@ async fn handle_stream_inner(
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
Command::Stop => {
|
||||
data.stop = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Err(msg) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue