Maoni0 / realmon

A monitoring tool that tells you when GCs happen in a process and some characteristics about these GCs
MIT License
281 stars 25 forks source link

Prevent session leaks by disposing the session if Ctrl+C is pressed #31

Closed MokoSan closed 2 years ago

MokoSan commented 2 years ago

Disposing the session and exiting the process if Ctrl+C is pressed. This is a fix for https://github.com/Maoni0/realmon/issues/30

Maoni0 commented 2 years ago

great!

ryandle commented 2 years ago

@Maoni0 I just hit this in local testing with dotnet-gcmon v0.5.0. It may be worth releasing a new version!