Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1530)

Unified Diff: Source/modules/websockets/NewWebSocketChannelImplTest.cpp

Issue 412173002: Oilpan: fix reported unit test leaks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DocumentTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/NewWebSocketChannelImplTest.cpp
diff --git a/Source/modules/websockets/NewWebSocketChannelImplTest.cpp b/Source/modules/websockets/NewWebSocketChannelImplTest.cpp
index 6ed7c28f92e9f4844ea60823ae851d89514fafb4..2c957437ed2133ba842db6118c4938c0164a0d70 100644
--- a/Source/modules/websockets/NewWebSocketChannelImplTest.cpp
+++ b/Source/modules/websockets/NewWebSocketChannelImplTest.cpp
@@ -102,6 +102,9 @@ public:
{
#if ENABLE(OILPAN)
channel()->disconnect();
+ m_channelClient.clear();
+ m_channel.clear();
+ Heap::collectAllGarbage();
#endif
}
« no previous file with comments | « Source/core/dom/DocumentTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698