Commit f20f0206 by Geoff Lang

Verify that the compiler has been initialized before freeing it.

BUG=angle:625 Change-Id: I8bba0dea26eacf02df4568cfb6840aa332bd0df8 Reviewed-on: https://chromium-review.googlesource.com/197655Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 17a0e632
......@@ -63,8 +63,11 @@ int ShInitialize()
//
int ShFinalize()
{
DetachProcess();
isInitialized = false;
if (isInitialized)
{
DetachProcess();
isInitialized = false;
}
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment