Home Help Center

WaitForShutdown blocks forever

mgsmgs Member Mike SmithOrganization: SkypeProject: Skype for partner integration
I've tried the "Hello World" examples for both C++ and Java but in both I find that in both cases the server side never returns from WaitForShutdown. As I understand the documentation this call should return when shutdown or destroy is called on the communicator on the client side. I've tried both calls on the client side but I never see the server side shutdown. What am I doing wrong? Am I missing something?

Comments

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    These are local operations, waitForShutdown just wait for communicator shutdown, so if you don't call destroy/shutdown in the specific communicator it never returns. Calls to client communicator shutdown has not effect on server side communicators.
  • mgsmgs Member Mike SmithOrganization: SkypeProject: Skype for partner integration
    ah, I see! Thanks for the info!
Sign In or Register to comment.