MainFrame: increase sleep time in fileUpdateEvent().
This should make file access a tiny bit safer.
This commit is contained in:
parent
e77b56383a
commit
a24422adcc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue