Fix scripting AssemblyLoadContext not getting unloaded
This commit is contained in:
@@ -45,9 +45,16 @@ public:
|
||||
/// </summary>
|
||||
static void UnloadEngine();
|
||||
|
||||
/// <summary>
|
||||
/// Creates the assembly load context for assemblies used by Scripting.
|
||||
/// </summary>
|
||||
static void CreateScriptingAssemblyLoadContext();
|
||||
|
||||
#if USE_EDITOR
|
||||
// Called by Scripting in a middle of hot-reload (after unloading modules but before loading them again).
|
||||
static void ReloadScriptingAssemblyLoadContext();
|
||||
/// <summary>
|
||||
/// Called by Scripting in a middle of hot-reload (after unloading modules but before loading them again).
|
||||
/// </summary>
|
||||
static void UnloadScriptingAssemblyLoadContext();
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user