Skip to content

Commit

Permalink
fix PythonScriptService finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
irov committed Sep 26, 2023
1 parent 436a931 commit 9a71495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/download_template.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ endmacro()

macro(DOWNLOAD_URL_FOLDER NAME URL FOLDER)
if(NOT EXISTS ${THIRDPARTY_DIR}/${FOLDER})
MESSAGE("Download ${NAME}: ${URL}")
MESSAGE("Download ${NAME}: ${URL}")
ExternalProject_Add(${NAME}_download PREFIX ${NAME}
SOURCE_DIR ${THIRDPARTY_DIR}/${FOLDER}

Expand Down
1 change: 1 addition & 0 deletions src/Frameworks/PythonFramework/PythonScriptService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ namespace Mengine
m_moduleMengine = nullptr;

m_kernel->set_current_module( nullptr );
m_kernel->collect();

m_bootstrapperModules.clear();
m_prototypies.clear();
Expand Down

0 comments on commit 9a71495

Please sign in to comment.