diff options
author | Dan Goodliffe <randomdan@akira.random.lan> | 2014-12-01 16:36:13 +0000 |
---|---|---|
committer | Dan Goodliffe <randomdan@akira.random.lan> | 2014-12-01 16:36:13 +0000 |
commit | a0a756b788cad647a0b8a4c29fd23b11d0bc2d29 (patch) | |
tree | b44822fc4d8b551e80b140ccb6046af378f530de /project2/ice | |
parent | Don't cache a pointer to the row state instance, it might move! (diff) | |
download | project2-a0a756b788cad647a0b8a4c29fd23b11d0bc2d29.tar.bz2 project2-a0a756b788cad647a0b8a4c29fd23b11d0bc2d29.tar.xz project2-a0a756b788cad647a0b8a4c29fd23b11d0bc2d29.zip |
Clear script caches before libraries are unloaded
Diffstat (limited to 'project2/ice')
-rw-r--r-- | project2/ice/iceDaemon.cpp | 2 | ||||
-rw-r--r-- | project2/ice/iceDataSource.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/project2/ice/iceDaemon.cpp b/project2/ice/iceDaemon.cpp index 7f506d4..b9211f9 100644 --- a/project2/ice/iceDaemon.cpp +++ b/project2/ice/iceDaemon.cpp @@ -3,6 +3,7 @@ #include "buildComms.h" #include "buildDaemon.h" #include "iceViewSerializer.h" +#include <scripts.h> #include <scriptLoader.h> #include <options.h> #include <sys/stat.h> @@ -180,6 +181,7 @@ IceDaemon::GetComponentCompiler(const std::string & slice, const IceCompile::Dep void IceDaemon::ClearSlice() { + ScriptReader::clearCache(); libs.clear(); } diff --git a/project2/ice/iceDataSource.cpp b/project2/ice/iceDataSource.cpp index c3d5b36..1b0c9e8 100644 --- a/project2/ice/iceDataSource.cpp +++ b/project2/ice/iceDataSource.cpp @@ -1,6 +1,7 @@ #include <pch.hpp> #include "buildClient.h" #include "iceDataSource.h" +#include <scripts.h> #include <Ice/Ice.h> IceBase::Libs IceDataSource::libs; @@ -33,6 +34,7 @@ IceDataSource::GetComponentCompiler(const std::string & slice, const IceCompile: void IceDataSource::ClearSlice() { + ScriptReader::clearCache(); libs.clear(); proxies.clear(); } |