Toggle navigation
Categories
Discussions
Activity
Best Of...
Home
Documentation
Sign In
Home
›
Help Center
Is it safe to call Communicator.destroy() multiple times?
Alexey Romanov
Member
Alexey Romanov
Organization:
Focus Media
Project:
Smart card controllers
✭
May 2010
in
Help Center
Or should this be prevented?
0
Comments
marc
Florida
Administrators, ZeroC Staff
Marc Laukien
Organization:
ZeroC, Inc.
Project:
The Internet Communications Engine
ZeroC Staff
May 2010
Have a look at:
http://www.zeroc.com/doc/Ice-3.4.0/reference/Ice/Communicator.html#destroy
"Destroy the communicator. This operation calls shutdown implicitly. Calling destroy cleans up memory, and shuts down this communicator's client functionality and destroys all object adapters. Subsequent calls to destroy are ignored."
0
Alexey Romanov
Member
Alexey Romanov
Organization:
Focus Media
Project:
Smart card controllers
✭
May 2010
Thanks! I only looked at
http://www.zeroc.com/doc/Ice-3.4.0/manual/Adv_server.33.2.html
and it wasn't clear from that.
0
Sign In
or
Register
to comment.
Comments
http://www.zeroc.com/doc/Ice-3.4.0/reference/Ice/Communicator.html#destroy
"Destroy the communicator. This operation calls shutdown implicitly. Calling destroy cleans up memory, and shuts down this communicator's client functionality and destroys all object adapters. Subsequent calls to destroy are ignored."