PIIODevice destructor fix
This commit is contained in:
@@ -46,6 +46,11 @@ PIUSB::PIUSB(ushort vid, ushort pid): PIIODevice("", ReadWrite) {
|
||||
}
|
||||
|
||||
|
||||
PIUSB::~PIUSB() {
|
||||
stop();
|
||||
close();
|
||||
}
|
||||
|
||||
void PIUSB::Endpoint::parse() {
|
||||
synchronisation_type = NoSynchonisation;
|
||||
usage_type = DataEndpoint;
|
||||
|
||||
Reference in New Issue
Block a user