PIIODevice destructor fix
This commit is contained in:
@@ -154,6 +154,12 @@ bool PIFile::openTemporary(PIIODevice::DeviceMode mode) {
|
||||
}
|
||||
|
||||
|
||||
PIFile::~PIFile() {
|
||||
stop();
|
||||
close();
|
||||
}
|
||||
|
||||
|
||||
bool PIFile::openDevice() {
|
||||
close();
|
||||
PIString p = path();
|
||||
|
||||
Reference in New Issue
Block a user