public function deleteInstance(core_kernel_classes_Resource $assembly)
    {
        if ($this->deleteDeliveryRuntime($assembly)===false) {
            \common_Logger::i('Fail to delete runtimes assembly, process aborted');
        }

        if ($this->deleteDeliveryDirectory($assembly)===false) {
            \common_Logger::i('Fail to delete directories assembly, process aborted');
        }

        return $assembly->delete();
    }