Index: chrome_frame/utils.h |
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h |
index 95feac6637c76e77ef3404106d87c420092b432c..c76b2a483184dcd42ce8a4bc49544325d59c6e82 100644 |
--- a/chrome_frame/utils.h |
+++ b/chrome_frame/utils.h |
@@ -387,6 +387,9 @@ STDMETHODIMP QueryInterfaceIfDelegateSupports(void* obj, REFIID iid, |
class STAThread : public base::Thread { |
public: |
explicit STAThread(const char *name) : Thread(name) {} |
+ ~STAThread() { |
+ Stop(); |
+ } |
bool Start() { |
return StartWithOptions(Options(MessageLoop::TYPE_UI, 0)); |
} |