Core: Shutdown fixes
Core: Shutdown fixes

jcdubois/DirectFB,sklnet/DirectFB,deniskropp/DirectFB,kaostao/directfb,sklnet/DirectFB,djbclark/directfb-core-DirectFB,deniskropp/DirectFB,lancebaiyouview/DirectFB,jcdubois/DirectFB,deniskropp/DirectFB,sklnet/DirectFB,jcdubois/DirectFB,sklnet/DirectFB,lancebaiyouview/DirectFB,kaostao/directfb,lancebaiyouview/DirectFB,lancebaiyouview/DirectFB,kaostao/directfb,djbclark/directfb-core-DirectFB,djbclark/directfb-core-DirectFB,djbclark/directfb-core-DirectFB,deniskropp/DirectFB