diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EphySingle.cpp | 5 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2005-09-09 Christian Persch <chpe@cvs.gnome.org> + + * 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 <chpe@cvs.gnome.org> * 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; |