MainFrame: increase sleep time in fileUpdateEvent().

This should make file access a tiny bit safer.
This commit is contained in:
Guillaume Jacquemin 2020-10-02 12:53:55 +02:00
parent e77b56383a
commit a24422adcc

View file

@ -382,7 +382,7 @@ void EvtMainFrame::fileUpdateEvent(wxFileSystemWatcherEvent& event) {
return; return;
} }
wxMilliSleep(50); wxMilliSleep(100);
wxString event_path = event.GetPath().GetPath(wxPATH_GET_VOLUME, wxPATH_WIN); wxString event_path = event.GetPath().GetPath(wxPATH_GET_VOLUME, wxPATH_WIN);