mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
BugFix: correctly wait for Mixer to save file on exit
On the way, also improved Connection Manager ending properly.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <condition_variable>
|
||||
|
||||
#include "NetworkToolkit.h"
|
||||
|
||||
@@ -86,8 +87,11 @@ protected:
|
||||
private:
|
||||
|
||||
static void ask();
|
||||
std::atomic<bool> asking_;
|
||||
std::condition_variable ask_end_;
|
||||
static void listen();
|
||||
RequestListener listener_;
|
||||
std::condition_variable listen_end_;
|
||||
UdpListeningReceiveSocket *receiver_;
|
||||
|
||||
std::vector< ConnectionInfo > connections_;
|
||||
|
||||
Reference in New Issue
Block a user