ChatTwo
ChatTwo copied to clipboard
Improve resource disposal practices
Wraps enumerators and commands in proper using blocks to ensure cleanup. Adds async disposal for enumerators, reducing resource leakage risks.
Did some light testing, this should in theory remove the need to call
GC.Collect()
GC.WaitForPendingFinalizers()
but I left it in just to be safe