From db650fe7d15d8a438f999229f64f84a4f1b201ec Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 9 Sep 2005 14:43:12 +0000 Subject: Manually emit the "profile-change-net-teardown" notification; works around 2005-09-09 Christian Persch * embed/mozilla/EphySingle.cpp: Manually emit the "profile-change-net-teardown" notification; works around bug https://bugzilla.mozilla.org/show_bug.cgi?id=292699. --- ChangeLog | 7 +++++++ embed/mozilla/EphySingle.cpp | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3c05efa12..4519e00d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-09-09 Christian Persch + + * embed/mozilla/EphySingle.cpp: + + Manually emit the "profile-change-net-teardown" notification; + works around bug https://bugzilla.mozilla.org/show_bug.cgi?id=292699. + 2005-09-07 Christian Persch * embed/mozilla/EphyUtils.cpp: diff --git a/embed/mozilla/EphySingle.cpp b/embed/mozilla/EphySingle.cpp index 4bd1915ea..0d920900a 100644 --- a/embed/mozilla/EphySingle.cpp +++ b/embed/mozilla/EphySingle.cpp @@ -82,6 +82,11 @@ EphySingle::Detach () mObserverService->RemoveObserver (this, "perm-changed"); mObserverService->RemoveObserver (this, "signonChanged"); mObserverService->RemoveObserver (this, "network:offline-status-changed"); + +#if 1 + /* HACK: Work around https://bugzilla.mozilla.org/show_bug.cgi?id=292699 */ + mObserverService->NotifyObservers(nsnull, "profile-change-net-teardown", nsnull); +#endif } return NS_OK; -- cgit v1.2.3