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

[SFtrack] Closed: (XECS-1573) NetInTask.cpp not shutdown properly


     [ 
http://track.sipfoundry.org/browse/XECS-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Joly closed XECS-1573.
-----------------------------

    Resolution: Won't Fix
      Assignee:     (was: Robert Joly)

After consulting with Arjun (the reporter for this problem), we concluded that 
the best alternative was to leave the code the way it is and not address this 
problem.  The rationale behind this is that it was very difficult to address 
the problem reported without introducing unpleasant side-effects without 
investing significant amount of time in restructuring the code and changing the 
way it gets used.  Our understanding of the problem is that it will not happen 
in production code as it is related to shutdown of a component that  is only 
executed when the system does down.   Arjun had originally found the problem 
while implementing unit  tests for a feature that he was working on - these 
unit tests used the media lib atypically which explains why he saw the problem 
and we do not see it in the field.

> NetInTask.cpp not shutdown properly
> -----------------------------------
>
>                 Key: XECS-1573
>                 URL: http://track.sipfoundry.org/browse/XECS-1573
>             Project: sipXecs
>          Issue Type: Bug
>          Components: sipXmediaLib
>            Reporter: Arjun Nair
>            Priority: Minor
>             Fix For: 3.11.8
>
>         Attachments: NetInTask.diff
>
>
> shutdownNetInTask() in "mp/NetInTask.cpp" does not "delete" the NetInTask 
> object. Hence, being a singleton class, this bug prevents you from 
> re-creating a new NetInTask object after shutting down an existing one.
> This is mainly just code clean up as currently in sipXecs, NetInTask is 
> initialized when a process (e.g. sipxpark) starts, and is never shutdown 
> during the entire lifetime of the process.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://track.sipfoundry.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira