Chromium Code Reviews| Index: Source/core/page/Page.cpp |
| diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp |
| index ed22d5b087d8e955b7f9412e52500df60af7ab18..7559876f6750e59213bd506d88a84c9d97630a76 100644 |
| --- a/Source/core/page/Page.cpp |
| +++ b/Source/core/page/Page.cpp |
| @@ -610,6 +610,7 @@ void Page::willBeDestroyed() |
| m_mainFrame = nullptr; |
| Page::notifyContextDestroyed(); |
| + Page::detachObservers(); |
|
haraken
2015/02/26 16:29:05
Hmm, I might want to avoid introducing another lif
sof
2015/02/26 17:01:22
Yes, the explicit clearing here is not without pro
|
| } |
| Page::PageClients::PageClients() |