Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
0dc6a04f
Commit
0dc6a04f
authored
Mar 15, 2016
by
Hugo Beauzée-Luyssen
Browse files
fs: Factory: Flush the folder cache when refreshing
parent
312e2f03
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/factory/FileSystem.cpp
View file @
0dc6a04f
...
...
@@ -70,6 +70,8 @@ std::shared_ptr<fs::IDevice> FileSystemFactory::createDevice( const std::string&
void
FileSystemFactory
::
refresh
()
{
fs
::
Device
::
populateCache
();
std
::
lock_guard
<
std
::
mutex
>
lock
(
m_mutex
);
m_dirs
.
clear
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment