| 277 | } |
| 278 | |
| 279 | int CReClassExApp::ExitInstance( ) |
| 280 | { |
| 281 | // |
| 282 | // Unload any loaded plugins |
| 283 | // |
| 284 | UnloadPlugins( ); |
| 285 | |
| 286 | // |
| 287 | // Free resources |
| 288 | // |
| 289 | if (m_hMdiMenu != NULL) |
| 290 | { |
| 291 | FreeResource( m_hMdiMenu ); |
| 292 | m_hMdiMenu = NULL; |
| 293 | } |
| 294 | |
| 295 | if (m_hMdiAccel != NULL) |
| 296 | { |
| 297 | FreeResource( m_hMdiAccel ); |
| 298 | m_hMdiAccel = NULL; |
| 299 | } |
| 300 | |
| 301 | if (m_pConsole) |
| 302 | { |
| 303 | delete m_pConsole; |
| 304 | m_pConsole = NULL; |
| 305 | } |
| 306 | |
| 307 | if (m_pSymbolLoader) |
| 308 | { |
| 309 | delete m_pSymbolLoader; |
| 310 | m_pSymbolLoader = NULL; |
| 311 | } |
| 312 | |
| 313 | AfxOleTerm( FALSE ); |
| 314 | |
| 315 | // |
| 316 | // Release Scintilla |
| 317 | // |
| 318 | Scintilla_ReleaseResources( ); |
| 319 | |
| 320 | // |
| 321 | // Write settings to profile |
| 322 | // |
| 323 | WriteProfileString( _T( "Typedefs" ), _T( "Hex" ), g_tdHex ); |
| 324 | WriteProfileString( _T( "Typedefs" ), _T( "Int64" ), g_tdInt64 ); |
| 325 | WriteProfileString( _T( "Typedefs" ), _T( "Int32" ), g_tdInt32 ); |
| 326 | WriteProfileString( _T( "Typedefs" ), _T( "Int16" ), g_tdInt16 ); |
| 327 | WriteProfileString( _T( "Typedefs" ), _T( "Int8" ), g_tdInt8 ); |
| 328 | WriteProfileString( _T( "Typedefs" ), _T( "QWORD" ), g_tdQWORD ); |
| 329 | WriteProfileString( _T( "Typedefs" ), _T( "DWORD" ), g_tdDWORD ); |
| 330 | WriteProfileString( _T( "Typedefs" ), _T( "WORD" ), g_tdWORD ); |
| 331 | WriteProfileString( _T( "Typedefs" ), _T( "BYTE" ), g_tdBYTE ); |
| 332 | WriteProfileString( _T( "Typedefs" ), _T( "Float" ), g_tdFloat ); |
| 333 | WriteProfileString( _T( "Typedefs" ), _T( "Double" ), g_tdDouble ); |
| 334 | WriteProfileString( _T( "Typedefs" ), _T( "Vec2" ), g_tdVec2 ); |
| 335 | WriteProfileString( _T( "Typedefs" ), _T( "Vec3" ), g_tdVec3 ); |
| 336 | WriteProfileString( _T( "Typedefs" ), _T( "Quat" ), g_tdQuat ); |
nothing calls this directly
no test coverage detected