PIIODevice destructor fix
This commit is contained in:
@@ -78,6 +78,12 @@ PIBinaryLog::PIBinaryLog() {
|
||||
}
|
||||
|
||||
|
||||
PIBinaryLog::~PIBinaryLog() {
|
||||
stop();
|
||||
close();
|
||||
}
|
||||
|
||||
|
||||
bool PIBinaryLog::openDevice() {
|
||||
lastrecord.timestamp = PISystemTime();
|
||||
lastrecord.id = 0;
|
||||
|
||||
Reference in New Issue
Block a user