Index: mojo/edk/embedder/test_embedder.cc |
diff --git a/mojo/edk/embedder/test_embedder.cc b/mojo/edk/embedder/test_embedder.cc |
index b33ea7be2c72c2e0d698aaffd2512731cd36daf9..9e82a4e76522cd3ebe435231f7207b35cdf0f0ec 100644 |
--- a/mojo/edk/embedder/test_embedder.cc |
+++ b/mojo/edk/embedder/test_embedder.cc |
@@ -12,6 +12,10 @@ |
#include "mojo/edk/system/core.h" |
#include "mojo/edk/system/handle_table.h" |
+#if defined(OS_WIN) |
+#include "mojo/edk/system/token_serializer_win.h" |
+#endif |
+ |
namespace mojo { |
namespace edk { |
@@ -47,6 +51,12 @@ bool Shutdown() { |
delete internal::g_platform_support; |
internal::g_platform_support = nullptr; |
+#if defined(OS_WIN) |
+ CHECK(internal::g_token_serializer); |
+ delete internal::g_token_serializer; |
+ internal::g_token_serializer = nullptr; |
+#endif |
+ |
return rv; |
} |