Make app shutdown wait for secondary threads
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 25 Nov 2015 10:04:27 +0000 (11:04 +0100)
committerJan Vorlicek <janvorli@microsoft.com>
Wed, 25 Nov 2015 12:24:35 +0000 (13:24 +0100)
commita845b01e3688fd981101f953fef41641264d5403
tree4ad80c19338bbe13af93595e152dbe8d71464ce0
parent0279dbd600e14d88cfe87408f08f6adce59d2d8d
Make app shutdown wait for secondary threads

This change makes the CoreCLR behavior the same as the desktop CLR
w.r.t. the app shutdown and secondary threads. Now the application
waits for secondary threads to exit before exiting.
src/vm/appdomain.cpp
src/vm/appdomainnative.cpp
src/vm/assembly.cpp
src/vm/assembly.hpp
src/vm/corhost.cpp