PIIODevice destructor fix

This commit is contained in:
2020-08-26 18:43:33 +03:00
parent 2a42d2a341
commit 2ef0ca6946
23 changed files with 62 additions and 35 deletions

View File

@@ -89,6 +89,12 @@ PISharedMemory::PISharedMemory(const PIString & shm_name, int size, PIIODevice::
}
PISharedMemory::~PISharedMemory() {
stop();
close();
}
bool PISharedMemory::openDevice() {
close();
//piCoutObj << "try open" << path() << dsize;