Author Topic: call_list_safe  (Read 177 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1408
  • Hero Points: 108
  • Text
call_list_safe
« on: July 25, 2017, 04:54:26 pm »
If a call_list target function causes a slick-stack then Slick         
can get into a bad state where it keeps calling this function and     
the function keeps crashing.                                           
For targets like "_switchbuf_" this can be unrecoverable.             
                                                                       
This safe version of call_list keeps track - so if a function doesn't 
return, it won't get called again -- instant recovery.                 
Restarting slickedit clears its memory of bad functions.