avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject RE: Problem with asynchronous disposing in fortress
Date Tue, 06 Aug 2002 13:35:36 GMT


> From: Berin Loritsch [mailto:bloritsch@apache.org] 
>
> Aha!  It is a bug introduced by the whole assume ownerhip 
> stuff. I didn't like it because instead of *using* what 
> someone else owned, it stole it from them.

Not really. The the contextmanager will only assume ownership
of the managers it creates itself:

        CommandManager cm = new CommandManager();
        assumeOwnership( cm );
        childContext.put( COMMAND_QUEUE, cm.getCommandQueue() );

What should be done is to put a flush() operation in the command 
manager's dispose method.

/LS


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message