From a24422adccf280f58eef38ee244cb4aa9e5f37ce Mon Sep 17 00:00:00 2001 From: William JCM Date: Fri, 2 Oct 2020 12:53:55 +0200 Subject: [PATCH] MainFrame: increase sleep time in fileUpdateEvent(). This should make file access a tiny bit safer. --- GUI/EvtMainFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/EvtMainFrame.cpp b/GUI/EvtMainFrame.cpp index a33bb0a..1173681 100644 --- a/GUI/EvtMainFrame.cpp +++ b/GUI/EvtMainFrame.cpp @@ -382,7 +382,7 @@ void EvtMainFrame::fileUpdateEvent(wxFileSystemWatcherEvent& event) { return; } - wxMilliSleep(50); + wxMilliSleep(100); wxString event_path = event.GetPath().GetPath(wxPATH_GET_VOLUME, wxPATH_WIN);