Author Topic: Beta 2, Slick stack closing tool window  (Read 1410 times)


  • Senior Community Member
  • Posts: 2128
  • Hero Points: 190
  • Text
Beta 2, Slick stack closing tool window
« on: September 03, 2014, 08:05:37 pm »

I split the edit window into two.
I dragged the second tab to another monitor.
The new window had a left-hand pane with several tool windows - I started clicking [X] because I just want the edit window.
When I tried closing "Symbols", the following SlickStack ocurred.

Slick-C Error
Invalid object handle

file=tbclass.ex offset=1106

 Invalid object handle tbclass.ex 1106 tbclass:_ClassFocusTimerCallback(221)   p_window_id: 5   p_object: OI_FORM   p_name: 


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 761
  • Hero Points: 50
Re: Beta 2, Slick stack closing tool window
« Reply #1 on: September 03, 2014, 09:29:28 pm »
Even though I cannot reproduce it (seems to be a timing thing), I believe the problem is we are not killing a timer before destroying the tool-window. I have a fix checked in for the next beta. If you are comfortable with modifying macro source, then you could try inserting a call to tbclass_maybe_kill_timer() in the on_destroy() in macros/tbclass.e. It would look like this:

Code: [Select]
void _tbclass_form.on_destroy()
   tbclass_maybe_kill_Timer();  // <-- HERE

Save and load via Macro>Load Module menu. Let me know if it seems to fix the stack.