Richard replace the return zero with exit
Richard Shaw <[email protected]> wrote:
>Bruce,
>
>I'll see about trying a debug build but I'll have to find a windows
>debugger first. I did try Dependency Walker that could track the exit
>code
>when led me to believe it may be a code issue. I couldn't find any DLL
>issues.
>
>I can't find a statement like exit(0) anywhere in src/...
>
>All I can find is:
>
>//-------------------------------------------------------------------------
>// OnExit()
>//-------------------------------------------------------------------------
>int MainApp::OnExit()
>{
> return 0;
>}
>
>Or do you think the problem may be somewhere where everything is being
>closed/deconstructed?
>
>void MainFrame::OnExit(wxCommandEvent& event)
>{
> wxUnusedVar(event);
>#ifdef _USE_TIMER
> m_plotTimer.Stop();
>#endif // _USE_TIMER
> if(g_sfPlayFile != NULL)
> {
> sf_close(g_sfPlayFile);
> g_sfPlayFile = NULL;
> }
> if(g_sfRecFile != NULL)
> {
> sf_close(g_sfRecFile);
> g_sfRecFile = NULL;
> }
> if(m_RxRunning)
> {
> stopRxStream();
> }
> m_togBtnSplit->Disable();
> //m_togRxID->Disable();
> //m_togTxID->Disable();
> m_togBtnAnalog->Disable();
> //m_togBtnALC->Disable();
> //m_btnTogPTT->Disable();
> CloseSerialPort();
> Pa_Terminate();
> Destroy();
>}
>
>???
>
>Thanks,
>Richard
>
>
>------------------------------------------------------------------------
>
>------------------------------------------------------------------------------
>AlienVault Unified Security Management (USM) platform delivers complete
>security visibility with the essential security capabilities. Easily
>and
>efficiently configure, manage, and operate all of your security
>controls
>from a single console and one unified framework. Download a free trial.
>http://p.sf.net/sfu/alienvault_d2d
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Freetel-codec2 mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/freetel-codec2
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2