| 72 | } |
| 73 | |
| 74 | void NativeScriptMgr::queueScriptReload( const std::string& name ) |
| 75 | { |
| 76 | auto info = m_loader.getScriptInfo( name ); |
| 77 | if( !info ) |
| 78 | return; |
| 79 | |
| 80 | // backup actual lib path |
| 81 | std::string libPath( info->library_path ); |
| 82 | |
| 83 | if( !unloadScript( info ) ) |
| 84 | return; |
| 85 | |
| 86 | m_scriptLoadQueue.push( libPath ); |
| 87 | } |
| 88 | |
| 89 | void NativeScriptMgr::processLoadQueue() |
| 90 | { |
no test coverage detected