From 187557df57a29c7556ca2637f854971c768993db Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 23 Aug 2023 12:16:36 -0600 Subject: [PATCH] midi surfaces: use an event loop invalidator for call_slot() --- libs/ctrl-interface/midi_surface/midi_surface.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ctrl-interface/midi_surface/midi_surface.cc b/libs/ctrl-interface/midi_surface/midi_surface.cc index e251225233..1309f4cc55 100644 --- a/libs/ctrl-interface/midi_surface/midi_surface.cc +++ b/libs/ctrl-interface/midi_surface/midi_surface.cc @@ -408,7 +408,7 @@ MIDISurface::do_request (MidiSurfaceRequest * req) { if (req->type == CallSlot) { - call_slot (MISSING_INVALIDATOR, req->the_slot); + call_slot (PBD::EventLoop::__invalidator (*this, __FILE__, __LINE__), req->the_slot); } else if (req->type == Quit) {