Commit c1221c5c authored by Max Kellermann's avatar Max Kellermann

Main: cancel the update on shutdown even if inotify is unavailable

Fixup for commit 681e012f
parent befd6690
...@@ -643,8 +643,10 @@ try { ...@@ -643,8 +643,10 @@ try {
/* cleanup */ /* cleanup */
#if defined(ENABLE_DATABASE) && defined(ENABLE_INOTIFY) #ifdef ENABLE_DATABASE
#ifdef ENABLE_INOTIFY
mpd_inotify_finish(); mpd_inotify_finish();
#endif
if (instance->update != nullptr) if (instance->update != nullptr)
instance->update->CancelAllAsync(); instance->update->CancelAllAsync();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment