diff --git a/src/Library/Application.php b/src/Library/Application.php
index <HASH>..<HASH> 100644
--- a/src/Library/Application.php
+++ b/src/Library/Application.php
@@ -68,12 +68,6 @@ abstract class Application extends NipApplication
         $translator->setDefaultLanguage($stageConfig->get('LOCALE.language_default'));
     }
 
-    public function preHandleRequest()
-    {
-        parent::preHandleRequest();
-        register_shutdown_function('__shutdown');
-    }
-
     /**
      * @param Request $request
      * @param Response $response
remove __shutdown function from application