Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

destroy() when browser is closed.

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does destroy() get called when someone just closes the browser?
If not, how do you release resources in that scenerio?
Thanks.
 
Marilyn de Queiroz
Sheriff
Posts: 9068
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on the browser.



Some browsers call destroy when you refresh or Shift-refresh (or Ctrl-refresh), Some when you follow a link to another page, perhaps some only when you close the browser.
[ November 08, 2002: Message edited by: Marilyn de Queiroz ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic