File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -45,21 +45,15 @@ public function process(ContainerBuilder $container)
45
45
$ this ->completeDefinition ($ id , $ definition );
46
46
}
47
47
}
48
- } catch (\Exception $ e ) {
49
- } catch (\Throwable $ e ) {
50
- }
51
-
52
- spl_autoload_unregister ($ throwingAutoloader );
53
-
54
- // Free memory and remove circular reference to container
55
- $ this ->container = null ;
56
- $ this ->reflectionClasses = array ();
57
- $ this ->definedTypes = array ();
58
- $ this ->types = null ;
59
- $ this ->ambiguousServiceTypes = array ();
60
-
61
- if (isset ($ e )) {
62
- throw $ e ;
48
+ } finally {
49
+ spl_autoload_unregister ($ throwingAutoloader );
50
+
51
+ // Free memory and remove circular reference to container
52
+ $ this ->container = null ;
53
+ $ this ->reflectionClasses = array ();
54
+ $ this ->definedTypes = array ();
55
+ $ this ->types = null ;
56
+ $ this ->ambiguousServiceTypes = array ();
63
57
}
64
58
}
65
59
You can’t perform that action at this time.
0 commit comments