Shutdown fix.

This commit is contained in:
Adam Ierymenko 2020-11-18 22:13:06 -05:00
parent a390629371
commit 11545bdb5d
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
2 changed files with 7 additions and 2 deletions

View file

@ -69,6 +69,7 @@ private:
unsigned int _mtu;
int _fd;
std::atomic_bool _enabled;
std::atomic_bool _running;
std::thread _tapReaderThread;
std::thread _tapProcessorThread;
std::mutex _buffers_l;