From 5203715df29ae2907e6311e2257c3541ee5c318e Mon Sep 17 00:00:00 2001 From: Polina Cherkasova Date: Fri, 28 Jul 2023 16:14:10 -0700 Subject: [PATCH] Update TROUBLESHOOT.md --- doc/TROUBLESHOOT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/TROUBLESHOOT.md b/doc/TROUBLESHOOT.md index ff40c8dd..bb7627b4 100644 --- a/doc/TROUBLESHOOT.md +++ b/doc/TROUBLESHOOT.md @@ -11,7 +11,7 @@ switch to [more complicated troubleshooting](#more-complicated-cases). ## General rules -Follow the rules to avoid/fix notGCed and notDisosed leaks: +Follow the rules to avoid/fix notGCed and notDisposed leaks: 1. **Ownership**. Every disposable object should have clear owner that manages its lifecycle. 2. **Disposal**. The owner should invoke the object's `dispose`.