Alex wrote:1. Were you clicking on another element? The first call to .tabs() always works, then with the setTimeout applied I was consistently getting broken tabs when clicking on other elements in the tree. When it happens, there's a big callstack of JQueryUI code and JQuery code where an exception occurs, but it's not immediately clear (to me) why.
Alex wrote:2. Yes there are probably lots of things contributing to the memory leak - my guess is a load of event bindings which are not released when you click on another element. Yet calling unbind didn't help so maybe it's something else, or I wasn't unbinding the events properly.
Alex wrote:3. b) Would be good to know why that's happening. If you set Visual Studio to break on all exceptions it should be clear what exactly is throwing this exception.
Alex wrote:The event bindings I'm referring to are the JQueryUI bindings in GameEdit.js in initialiseElementEditor.
Alex wrote:The NotImplementedException from DataChanged must be because it's trying to set some attribute to 0 which was previously null - would be good to know what attribute that is, it probably just needs to have a default value set in CoreTypes.aslx. Is this on the stable or default branch?
Alex wrote:Doesn't removing the Ajax.BeginForm block break the Editor entirely though? That's how it loads the new element editor as you click on elements in the tree.
Users browsing this forum: Google [Bot] and 0 guests