Fix SIGSEGV in EventPipe on Shutdown (#14123)
authorBrian Robbins <brianrob@microsoft.com>
Fri, 22 Sep 2017 08:17:48 +0000 (01:17 -0700)
committerJan Vorlicek <janvorli@microsoft.com>
Fri, 22 Sep 2017 08:17:48 +0000 (10:17 +0200)
commit42309c858a742e2ec93c34fa4392a9a097d3d816
tree5affea7a80fcc3e77d242dd5d1328f664a08f2eb
parent6cee2edabe83ebb4899c38859f6e36eb461a3759
Fix SIGSEGV in EventPipe on Shutdown (#14123)

* Fix a crash that occurs when a provider is registered after the configuration object has been destroyed.

* Code review feedback.
src/vm/eventpipe.cpp
src/vm/eventpipeconfiguration.cpp
src/vm/eventpipeconfiguration.h
src/vm/eventpipeprovider.cpp
src/vm/eventpipeprovider.h