summaryrefslogtreecommitdiff
path: root/libs/surfaces/push2/push2.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-12 07:46:30 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-27 14:59:31 -0500
commit8fdf1669a7918d8c625d2ef10df2225c86a85d76 (patch)
tree7515bacdc3b6cf57538d83ee23e50de102205207 /libs/surfaces/push2/push2.cc
parentad7543c02f947e15a88b5eeae8db6dc55bad9b60 (diff)
push2: fix up issues with object lifetimes and signals during shutdown
Diffstat (limited to 'libs/surfaces/push2/push2.cc')
-rw-r--r--libs/surfaces/push2/push2.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc
index 412fc3c51b..2f48535746 100644
--- a/libs/surfaces/push2/push2.cc
+++ b/libs/surfaces/push2/push2.cc
@@ -40,6 +40,7 @@
#include "ardour/session.h"
#include "ardour/tempo.h"
+#include "gtkmm2ext/gui_thread.h"
#include "gtkmm2ext/rgb_macros.h"
#include "canvas/colors.h"
@@ -141,8 +142,6 @@ Push2::Push2 (ARDOUR::Session& s)
, octave_shift (0)
, percussion (false)
{
- cerr << "new push2 @ " << this << "\n";
-
context = Cairo::Context::create (frame_buffer);
build_maps ();
@@ -176,15 +175,16 @@ Push2::Push2 (ARDOUR::Session& s)
Push2::~Push2 ()
{
- cerr << "push2 deleted\n";
stop ();
+
+ delete track_mix_layout;
+ delete mix_layout;
+ delete scale_layout;
}
void
Push2::port_registration_handler ()
{
- cerr << "preg for " << this << endl;
-
if (!_async_in && !_async_out) {
/* ports not registered yet */
return;