Re: [apache/incubator-teaclave] Force to call enclave destory when receiving signals (#413)

2020-09-01 Thread Mingshen Sun
Merged #413 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/413#event-3717576558

[apache/incubator-teaclave] Force to call enclave destory when receiving signals (#413)

2020-09-01 Thread Mingshen Sun
## Description When receiving singals like SIGTERM, SIGINT, the services will be terminated immediately. Before exiting the process, we force to call enclave destroy. This will help us to collect sgx_emmt information if needed. Also, two global variables are added for profiling memory usage. Yo