WIP, some workaround around the service manager, to be cleaned seriously later
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/thread.hpp>
|
||||
|
||||
#include "Database.hpp"
|
||||
#include "Checksum.hpp"
|
||||
@@ -240,6 +241,8 @@ Database::refreshAudioDirectory( const boost::filesystem::path& p)
|
||||
|
||||
BOOST_FOREACH(const boost::filesystem::path& file, files) {
|
||||
|
||||
boost::this_thread::interruption_point();
|
||||
|
||||
try {
|
||||
if (boost::filesystem::is_directory(file)) {
|
||||
refreshAudioDirectory( file );
|
||||
|
||||
Reference in New Issue
Block a user