ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
53 stars 52 forks source link

general failure to implement Dispose() pattern (memory leaks) #254

Closed shaun0x00 closed 9 years ago

shaun0x00 commented 9 years ago
  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

  1. EnsureLocalDisposalRule

Problem: This disposable local is not guaranteed to be disposed of before the method returns.

Solution: Use a 'using' statement or surround the local's usage with a try/finally block. More info available at: https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.Correctness.EnsureLocalDisposalRule(2.10)

Licho1 commented 9 years ago

Bars are not meant to be disposed, they are single instances disposing them would crash ZKL. Other entities are subject to garbage colleciton which will autodispose them.

Licho1 commented 9 years ago

Please learn how disposing works. GC auto calls dispose when there is no reference from execution root to the class. There is not much point calling dispose manually except in cases where expensive native resources are managed. Otherwise delegating disposing to secondary GC thread means high performance at the cost of small short term memory increase.

Neither of those instances seem to manage native resources (like windows handles, directx buffers or native libs). Please report individual case if you think it really is an issue.