Results 1 to 2 of 2

Thread: Plugins get destroyed twice

  1. #1
    Sheff is offline Registered User
    Name: Stanislav Vorobiov
    Organization: FocusMedia
    Project: Object System
    Join Date
    Nov 2008
    Posts
    13

    Plugins get destroyed twice

    If I have multiple plugins and, for example, the second one throws an exception then destroy() is called for first plugin, after that, on leaving Ice::Application::run, _pluginManager->destroy() is called causing destroy() to be called for first plugin once again, is that expected behavior ? If so, why does IceSSL have the following 'destroy' code:
    Code:
    _instance->destroy();
    _instance = 0;
    after second call to such destroy it'll throw Ice::NullHandleException and since
    PluginManagerI::destroy() doesn't catch exceptions it'll no longer call
    destroy's of other plugins.

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    If that occurs, it is a bug. We'll check into it!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to load plugins in sles10?
    By g00fy in forum Help Center
    Replies: 3
    Last Post: 02-04-2008, 05:25 PM
  2. list of loaded Plugins
    By ctennis in forum Comments
    Replies: 0
    Last Post: 10-02-2007, 10:02 AM
  3. Ice plugins are not getting loaded?
    By g00fy in forum Help Center
    Replies: 4
    Last Post: 07-02-2007, 04:13 AM
  4. How to determine the reason of a destroyed session
    By joel vennin in forum Help Center
    Replies: 3
    Last Post: 08-10-2006, 08:19 PM
  5. Replies: 7
    Last Post: 01-25-2006, 02:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •