Skip to content

Commit

Permalink
Merge pull request #572 from tribal-tec/master
Browse files Browse the repository at this point in the history
Sequel: Fix crash on exit
  • Loading branch information
tribal-tec authored Jul 29, 2016
2 parents a825876 + f02000b commit 600863d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions seq/detail/view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ bool View::configInit()

bool View::configExit()
{
if( !getPipe() && getViewData( )) // application view
ViewData* viewData = getViewData();
if( !getPipe() && viewData ) // application view
{
setUserData( 0 );
getConfig()->getApplication()->destroyViewData( getViewData( ));
getConfig()->getApplication()->destroyViewData( viewData );
}
return eq::View::configExit();
}
Expand Down

0 comments on commit 600863d

Please sign in to comment.