• Hugo Beauzée-Luyssen's avatar
    IMediaLibrary: Improve onReload* callbacks · 26cee193
    Hugo Beauzée-Luyssen authored
    Don't invoke the callback with an empty entry point and a global success
    Instead, let the discoverer invoke the callback with the actual entry
    point being reloaded, and its associated success state
    The deleteFolder test was removed because the RemoveDirectory test
    already covers folder deletion tests, but also because the folder was
    directly removed from database, which makes the reload operation not
    reload anything, so no callback was ever sent, and waitForReload was
    timing out.
FsDiscoverer.cpp 15.5 KB