Index: test/UpdateCheck.cpp |
=================================================================== |
--- a/test/UpdateCheck.cpp |
+++ b/test/UpdateCheck.cpp |
@@ -62,10 +62,11 @@ |
void Destroy() |
{ |
webRequest->Cancel(); |
+ eventCallbackParams.clear(); |
filterEngine.reset(); |
ToInternal(jsEngine)->WaitForQuietScheduler(); |
+ ASSERT_EQ(1, jsEngine.use_count()); |
jsEngine.reset(); |
- ASSERT_EQ(0, jsEngine.use_count()); |
} |
protected: |