View Single Post
03/30/17, 12:46 PM   #18
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by ZOS_ChipHilseberg View Post
The top of the callstack would tell you where the closure was created, but it wouldn't show down to the addon triggering it. In the case of the context menu it would give you the ZO_ObjectPool_CreateControl on line 177 in ZO_ObjectPool.lua and that is it. A setting could be an option. A rough guess on storing all of the stacks for all of the stock UI closures is probably somewhere in the 30 MB range. This would require a couple days of VM modifications, but it isn't impossible.
I would not worry about 30MB.

There must be a moment where a flag switches from true to false, right?
Could this be raised as an error (after setting a switch to do so)?
/edit: If it affects a scene or control?
  Reply With Quote