| 1241 | } |
| 1242 | |
| 1243 | void disableSerializationOnDebugger ( vector<ModuleInfo> & req ) { |
| 1244 | if ( daScriptEnvironment::getBound()->serializer_read == nullptr ) |
| 1245 | return; |
| 1246 | for ( auto & mod : req ) { |
| 1247 | if ( mod.fileName.find("daslib/debug") != string::npos ) { |
| 1248 | auto & serializer_read = daScriptEnvironment::getBound()->serializer_read; |
| 1249 | auto & serializer_write = daScriptEnvironment::getBound()->serializer_read; |
| 1250 | serializer_read = serializer_write = nullptr; |
| 1251 | break; |
| 1252 | } |
| 1253 | } |
| 1254 | } |
| 1255 | |
| 1256 | bool verifyModuleNamesUnique ( const vector<ModuleInfo> & req, TextWriter & logs ) { |
| 1257 | das_hash_map<string, string> fullName; |