Fixed stuff attempt 3

This commit is contained in:
WolverinDEV 2020-03-28 23:11:41 +01:00
parent 63219434d3
commit 5c408948f6

View File

@ -252,9 +252,11 @@ void VoiceClientConnection::execute_handle_command_packets(const std::chrono::sy
buffer_execute_lock.unlock();
auto voice_server = this->client->voice_server;
if(voice_server && (reexecute_handle || this->should_reassembled_reschedule))
if(voice_server && (reexecute_handle || this->should_reassembled_reschedule)) {
should_reassembled_reschedule = false;
this->client->voice_server->schedule_command_handling(this->client);
}
}
/* buffer_execute_lock: lock for in order execution */
bool VoiceClientConnection::next_reassembled_command(unique_lock<std::recursive_timed_mutex>& buffer_execute_lock, pipes::buffer& result, uint16_t& packet_id) {