asqbtcupid / unreal.lua

lua solution for UnrealEngine4
MIT License
300 stars 98 forks source link

UMG blueprint stay in memory after change map. #38

Closed gamebili closed 4 years ago

gamebili commented 5 years ago

UMG blueprint will stay in memory forever after using SimpleDlg.

asqbtcupid commented 5 years ago

yes, unreal.lua will cached blueprint class in _G table, and you can free it explicitily,such as

_G["xxxx"] = nil

xxxx is the classname