Author: veithm
Date: Fri May 15 15:00:34 2015
New Revision: 1679580

URL: http://svn.apache.org/r1679580
Log:
Reset Class2Type and Type map on runtime shutdown

When the runtime gets closed also the static type maps should
be cleaned in order to allow a second life cycle within one
process.

Change-Id: I9bb4ecea07506743608eb2133a7ed207376ec643

Modified:
    
etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm

Modified: 
etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm
URL: 
http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm?rev=1679580&r1=1679579&r2=1679580&view=diff
==============================================================================
--- 
etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm
 (original)
+++ 
etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm
 Fri May 15 15:00:34 2015
@@ -45,6 +45,8 @@ status_t $vf::Etch${intf.name()}RuntimeL
   if (runtime->isClosed()) {
     //the runtime is closed and is removed
     $vf::SRuntimes.remove(runtime->getId());
+    $vf::class2type()->reset();
+    $vf::types()->reset();
   }
   return ETCH_OK;
 }


Reply via email to