You're in luck! The onDisconnect event is on the Port object that is passed to onConnect and returned from connect(). See http://code.google.com/chrome/extensions/extension.html#type-Port for some admittedly sparse documentation.
On Wed, Nov 4, 2009 at 11:04 AM, Jean-Lou Dupont <jeanlou.dup...@gmail.com>wrote: > > Is there an "onDisconnect" event? or I should just use a "try - catch" > and flush the ports which have dropped out? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensions@googlegroups.com To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---