Mixer: Fix redundant operations in strip removal.

This commit is contained in:
Jonathan Moore Liles 2013-10-21 17:29:11 -07:00
parent f6c0e48a50
commit d795a484f0
2 changed files with 2 additions and 1 deletions

View File

@ -1242,7 +1242,6 @@ Mixer_Strip::command_move_right ( void )
void void
Mixer_Strip::command_close ( void ) Mixer_Strip::command_close ( void )
{ {
mixer->remove( this );
Fl::delete_widget( this ); Fl::delete_widget( this );
} }

View File

@ -335,6 +335,8 @@ namespace JACK
const char ** const char **
Port::connections ( void ) Port::connections ( void )
{ {
ASSERT( _port, "Attempt to get connections of null port" );
return jack_port_get_connections( _port ); return jack_port_get_connections( _port );
} }