Fix for error at pcap and vcp level on Windows causes crash
parent
44ca4d4db1
commit
a608d21304
|
|
@ -27,7 +27,6 @@ public:
|
||||||
bool close();
|
bool close();
|
||||||
private:
|
private:
|
||||||
PCAPDLL pcap;
|
PCAPDLL pcap;
|
||||||
device_errorhandler_t err;
|
|
||||||
char errbuf[PCAP_ERRBUF_SIZE] = { 0 };
|
char errbuf[PCAP_ERRBUF_SIZE] = { 0 };
|
||||||
neodevice_t& device;
|
neodevice_t& device;
|
||||||
uint8_t deviceMAC[6];
|
uint8_t deviceMAC[6];
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@ private:
|
||||||
bool open(bool fromAsync);
|
bool open(bool fromAsync);
|
||||||
bool opening = false;
|
bool opening = false;
|
||||||
neodevice_t& device;
|
neodevice_t& device;
|
||||||
device_errorhandler_t err;
|
|
||||||
HANDLE handle = INVALID_HANDLE_VALUE;
|
HANDLE handle = INVALID_HANDLE_VALUE;
|
||||||
OVERLAPPED overlappedRead = {};
|
OVERLAPPED overlappedRead = {};
|
||||||
OVERLAPPED overlappedWrite = {};
|
OVERLAPPED overlappedWrite = {};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue