diff --git a/Parser/FormTypeParser.php b/Parser/FormTypeParser.php
index 6d9b5cd..20569d8 100644
--- a/Parser/FormTypeParser.php
+++ b/Parser/FormTypeParser.php
@@ -263,6 +263,11 @@ class FormTypeParser implements ParserInterface
                          */
                         $addDefault = false;
                         try {
+
+                            if (isset($subForm)) {
+                                unset($subForm);
+                            }
+
                             if (LegacyFormHelper::hasBCBreaks()) {
                                 try {
                                     $subForm = $this->formFactory->create(get_class($type), null, $options);