The backend mailbox close/open status is not related to
the notify API usage. The notify is removed in
virtual_mailbox_close_internal instead when we are
actually deinitializing.
struct virtual_backend_box *bbox = VIRTUAL_CONTEXT(box);
struct virtual_backend_mailbox *vbox = VIRTUAL_BACKEND_CONTEXT(box);
- if (bbox != NULL && bbox->notify != NULL)
- mailbox_list_notify_deinit(&bbox->notify);
-
if (bbox != NULL && bbox->open_tracked) {
/* we could have gotten here from e.g. mailbox_autocreate()
without going through virtual_mailbox_close() */