libec/ide parsing: Fix for bad memory when opening multiple code editors importing...
authorJerome St-Louis <jerome@ecere.com>
Mon, 12 Dec 2011 00:04:37 +0000 (19:04 -0500)
committerJerome St-Louis <jerome@ecere.com>
Mon, 12 Dec 2011 00:04:37 +0000 (19:04 -0500)
commitdaa244a0463d1dd97a42826cb44ff05278caf323
tree79c9ecd341872a2ff7f489a8bf04ae44b759e281
parent76b19c94bf260a2db2e4a2d924ce86a69f42fe8a
libec/ide parsing: Fix for bad memory when opening multiple code editors importing a shared library (e.g. eda) that creates objects
- The module classes were being unregistered when the first loaded up file gets closed
- An extra safety module instance now gets loaded and only gets freed when all referencing editors are closed
compiler/libec/src/freeAst.ec
compiler/libec/src/loadSymbols.ec