mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-26 07:14:33 +08:00
[feat] integrate IP direct mode with desktop controls and history
This commit is contained in:
@@ -37,6 +37,11 @@ void SessionCallbackGate::EndCallback() {
|
||||
}
|
||||
}
|
||||
|
||||
void SessionCallbackGate::StopAccepting() {
|
||||
std::lock_guard lock(mutex_);
|
||||
accepting_callbacks_ = false;
|
||||
}
|
||||
|
||||
void SessionCallbackGate::Close() {
|
||||
std::unique_lock lock(mutex_);
|
||||
accepting_callbacks_ = false;
|
||||
|
||||
Reference in New Issue
Block a user