some PIFile functionality

PIBinaryLog::close fix
This commit is contained in:
2022-12-26 14:09:05 +03:00
parent 81cbf905ba
commit f355cfc05e
6 changed files with 27 additions and 1 deletions

View File

@@ -156,7 +156,7 @@ bool PIBinaryLog::openDevice() {
bool PIBinaryLog::closeDevice() {
stopThreadedRead();
stopAndWait();
pausemutex.unlock();
logmutex.unlock();
moveIndex(-1);