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

java client 1.23: StorageServer在何处关闭的问题 #41

Closed
GoogleCodeExporter opened this issue Aug 14, 2015 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

do_upload_file等方法中,对于从外部传入的StorageServer也在用完��
�后关闭。我的问题是,按照谁调用谁释放的原则,不是应该�
��调用者就主动调用StorageServer.close()方法关闭么?

代码:
this.storageServer.close();//这句不是应该留给调用者关闭么?不知
您放在这里关闭,是不是有什么考虑?
if (bNewConnection) {
    this.storageServer = null;
}

Original issue reported on code.google.com by htd0...@gmail.com on 30 Nov 2012 at 6:25

@GoogleCodeExporter
Copy link
Author

恩,这个的确是问题。v1.24中已经修复。

Original comment by happyfis...@gmail.com on 1 Dec 2012 at 5:56

  • Changed state: Fixed

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

1 participant