mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Fix crash caused by server leave and rejoin
This commit is contained in:
@@ -143,5 +143,8 @@ int IceAgent::SetRemoteGatheringDone() {
|
||||
}
|
||||
|
||||
int IceAgent::Send(const char *data, size_t size) {
|
||||
if (juice_state_t::JUICE_STATE_COMPLETED != juice_get_state(agent_)) {
|
||||
return -1;
|
||||
}
|
||||
return juice_send(agent_, data, size);
|
||||
}
|
||||
Reference in New Issue
Block a user