Bug 1527798 - Kill mspdbsrv at the end of gn build. r=froydnj

It keeps running and prevents the worker from unmounting, failing the
task.

Differential Revision: https://phabricator.services.mozilla.com/D19910
This commit is contained in:
Mike Hommey 2019-02-15 17:01:09 +09:00
parent cbec6eb233
commit 0f1d72a827

View File

@ -21,3 +21,8 @@ cd $WORKSPACE/build/src
. taskcluster/scripts/misc/tooltool-download.sh
. taskcluster/scripts/misc/build-gn-common.sh
# Building with MSVC spawns a mspdbsrv process that keeps a dll open in the MSVC directory.
# This prevents the taskcluster worker from unmounting cleanly, and fails the build.
# So we kill it.
taskkill -f -im mspdbsrv.exe || true