Delete temporary config files on platforms other than Windows
This commit is contained in:
parent
087b07b335
commit
98a6b0421a
|
@ -830,7 +830,9 @@ void MainWindow::stopSynergy()
|
|||
|
||||
// HACK: deleting the object deletes the physical file, which is
|
||||
// bad, since it could be in use by the Windows service!
|
||||
//delete m_pTempConfigFile;
|
||||
#if !defined(Q_OS_WIN)
|
||||
delete m_pTempConfigFile;
|
||||
#endif
|
||||
m_pTempConfigFile = NULL;
|
||||
|
||||
// reset so that new connects cause auto-hide.
|
||||
|
|
Loading…
Reference in New Issue