Further minimize impact of a shutdown issue which only seems to happen with XDirectFB, e.g. on Ctrl-Alt-BackSpace. The problem is that waiting for the dispatcher to process pending messages fails, or at least the detection is broken whether there are any pending messages.
Further minimize impact of a shutdown issue which only seems to happen with
XDirectFB, e.g. on Ctrl-Alt-BackSpace. The problem is that waiting for the
dispatcher to process pending messages fails, or at least the detection is
broken whether there are any pending messages.

Only call fusion_sync() if the pool that is to be destroyed has objects.

kaostao/directfb,lancebaiyouview/DirectFB,Distrotech/DirectFB,DirectFB/directfb,djbclark/directfb-core-DirectFB,jcdubois/DirectFB,DirectFB/directfb,deniskropp/DirectFB,kevleyski/DirectFB-1,DirectFB/directfb,Distrotech/DirectFB,sklnet/DirectFB,mtsekm/test,dfbdok/DirectFB1,lancebaiyouview/DirectFB,dfbdok/DirectFB1,mtsekm/test,jcdubois/DirectFB,lancebaiyouview/DirectFB,deniskropp/DirectFB,kevleyski/directfb,lancebaiyouview/DirectFB,Distrotech/DirectFB,kevleyski/directfb,sklnet/DirectFB,sklnet/DirectFB,djbclark/directfb-core-DirectFB,deniskropp/DirectFB,kevleyski/directfb,kevleyski/DirectFB-1,dfbdok/DirectFB1,djbclark/directfb-core-DirectFB,mtsekm/test,kaostao/directfb,jcdubois/DirectFB,kevleyski/DirectFB-1,kevleyski/directfb,sklnet/DirectFB,kevleyski/DirectFB-1,deniskropp/DirectFB,djbclark/directfb-core-DirectFB,kaostao/directfb