f8735e5988
by using beforedestroy instead of destroy (like we do everywhere else) to avoid race condition when the controller has already removed some handlers on destruction Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>