Dispose pattern: Difference between revisions

Content deleted Content added
m Minor grammar fix
Motivation: The pseudocode uses Java conventions, so I thought we should make Dispose() follow those conventions too, like getResource()
Line 19:
// Resource might not have been acquired, or already freed
if (resource != null)
resource.Disposedispose();
}
</source>