Archived

This forum has been archived. Please start a new discussion on GitHub.

destroy() vs shutdown() (Ice 3.6.3 C++, server-side application)

Hey there!
How come finalizing Ice 3.6.3 in C++ using suggested method - destroy() is causing "... Microsoft C++ exception: `anonymous namespace'::ThreadPoolDestroyedException at memory ..." exceptions while calling shutdown() doesn't?
Which of 2 methods should be used in that case?
Does shutdown() also performs full clean-up?

Thanks in advance!
Maxim-Allen

Comments

  • xdm
    xdm La Coruña, Spain

    Hi,

    For a comparison of destroy and shutdown read the communicator documentation calling destroy shouldn't throw ThreadPoolDestroyedException can you provide a sample code that demonstrate the issue?

    Cheers,
    José