Destroy the Temporary Fiel object so it is not kept open · Github1886/sqlitebrowser@d8ca11f · GitHub
Skip to content

Commit d8ca11f

Browse files
committed
Destroy the Temporary Fiel object so it is not kept open
According to Qt documentation: > Reopening a QTemporaryFile after calling close() is safe. For as long as > the QTemporaryFile object itself is not destroyed, the unique temporary > file will exist and be kept open internally by QTemporaryFile. Keeping the file open by DB4S means that later it cannot be opened by the external application in Windows, since it is locked. See issue sqlitebrowser#2402
1 parent 27c2f64 commit d8ca11f

1 file changed

Lines changed: 18 additions & 10 deletions

File tree

‎src/EditDialog.cpp‎

Lines changed: 18 additions & 10 deletions

0 commit comments

Comments
 (0)