< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] DUM shutdown message processing


Derek,

What is the purpose of AppDialogSet?

BTW, can you remove the following two methods from
DialogUsageManager.hxx

      ClientRegistrationHandle
findClientRegistration(DialogId id);
      ServerRegistrationHandle
findServerRegistration(DialogId id);

Since there is no Dialog created for registration.

Thanks,

kaiduan

 --- Derek MacDonald <derek@xxxxxxxx> wrote: 
> > Another problem, if application allocates an
> > ApplDialogSet on heap, and forgets to delete it,
> the
> > DUM::shutdown() will never be called. In this way,
> the
> > application will hangup there.
> > 
> 
> DUM will delete AppDialogSets(that are associated
> with a DialogSet) unless
> you overload the AppDialogSet::destroy method.
> 
> If you are creating an AppDialogSet out of context,
> you have to clean it up
> yourself, but this isn't how AppDialogSet is meant
> to be used.
> 
> --Derek
> 
> 
>  

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca