patch from tim mayberry to fix crash when creating a new session after session close (#4907)

git-svn-id: svn://localhost/ardour2/branches/3.0@12556 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-06-04 16:48:53 +00:00
parent 4ac444dad5
commit 9b2e242cb5
1 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,8 @@ ARDOUR_UI::unload_session (bool hide_stuff)
delete _session;
_session = 0;
session_loaded = false;
update_buffer_load ();
return 0;