Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParameterBuffer posible has to Destructor to release stream field. [DNET189] #200

Closed
firebird-automations opened this issue Oct 11, 2008 · 4 comments

Comments

@firebird-automations
Copy link

Submitted by: @cincuranet

Jira_subtask_inward DNET179

Commits: 69f447c

@firebird-automations
Copy link
Author

Commented by: @cincuranet

4. ParameterBuffer posible has to Destructor to release stream field.

class ParameterBuffer

...

~ParameterBuffer()
{
Dispose();
}

public void Dispose()
{
if (this.stream != null)
{
this.stream.Close();
this.stream.Dispose();
}
}

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Version: 2.5.0 Alpha 2 [ 10240 ]

Version: 2.5.0 Alpha 1 [ 10230 ]

Version: 2.1.0 [ 10102 ]

Fix Version: 2.5.0 Alpha 3 [ 10261 ]

Fix Version: 2.5.0 [ 10170 ]

Component: http://ADO.NET Provider [ 10041 ]

@firebird-automations
Copy link
Author

Commented by: @cincuranet

The stream will be freed by GC. We don't need finalizer and/or IDisposable here.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

Fix Version: 2.5.0 Alpha 3 [ 10261 ] =>

Fix Version: 2.5.0 [ 10170 ] =>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants