mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-05 21:02:39 +08:00
Delete temporary config files on platforms other than Windows
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user