Main: cancel the update on shutdown even if inotify is unavailable
Fixup for commit 681e012fb5
This commit is contained in:
parent
befd669075
commit
c1221c5c87
|
@ -643,8 +643,10 @@ try {
|
|||
|
||||
/* cleanup */
|
||||
|
||||
#if defined(ENABLE_DATABASE) && defined(ENABLE_INOTIFY)
|
||||
#ifdef ENABLE_DATABASE
|
||||
#ifdef ENABLE_INOTIFY
|
||||
mpd_inotify_finish();
|
||||
#endif
|
||||
|
||||
if (instance->update != nullptr)
|
||||
instance->update->CancelAllAsync();
|
||||
|
|
Loading…
Reference in New Issue