mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Fix for error at pcap and vcp level on Windows causes crash
This commit is contained in:
committed by
EricLiu2000
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 = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user