Skip to content

Commit

Permalink
[NUI.Gadget] Modify NUIGadgetAssembly unload logic
Browse files Browse the repository at this point in the history
_assembly must be reset to null after calling Unload().

Signed-off-by: Changgyu Choi <[email protected]>
  • Loading branch information
upple committed Dec 2, 2024
1 parent aa36e02 commit fbc5004
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetAssembly.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ internal void Unload()
(_assemblyRef.Target as NUIGadgetAssemblyLoadContext).Unload();
}

_assembly = null;
_loaded = false;
Log.Warn("Unload(): " + _assemblyPath + " --");
}
Expand Down

0 comments on commit fbc5004

Please sign in to comment.