diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-09-09 22:43:12 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-09-09 22:43:12 +0800 |
commit | db650fe7d15d8a438f999229f64f84a4f1b201ec (patch) | |
tree | f1a94b288c8fc57068329ccab3b9588ff1062f1e /embed/mozilla/EphySingle.cpp | |
parent | f7cf9f7ab23423b95edcfd8e5934b54764ca38c8 (diff) | |
download | gsoc2013-epiphany-db650fe7d15d8a438f999229f64f84a4f1b201ec.tar gsoc2013-epiphany-db650fe7d15d8a438f999229f64f84a4f1b201ec.tar.gz gsoc2013-epiphany-db650fe7d15d8a438f999229f64f84a4f1b201ec.tar.bz2 gsoc2013-epiphany-db650fe7d15d8a438f999229f64f84a4f1b201ec.tar.lz gsoc2013-epiphany-db650fe7d15d8a438f999229f64f84a4f1b201ec.tar.xz gsoc2013-epiphany-db650fe7d15d8a438f999229f64f84a4f1b201ec.tar.zst gsoc2013-epiphany-db650fe7d15d8a438f999229f64f84a4f1b201ec.zip |
Manually emit the "profile-change-net-teardown" notification; works around
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.
Diffstat (limited to 'embed/mozilla/EphySingle.cpp')
-rw-r--r-- | embed/mozilla/EphySingle.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |