13
0

remove debug output

This commit is contained in:
Paul Davis 2021-12-22 07:38:59 -07:00
parent 844bb85d12
commit 65c7079b51

View File

@ -295,11 +295,8 @@ Trigger::set_region (boost::shared_ptr<Region> r)
{ {
/* Called from (G)UI thread */ /* Called from (G)UI thread */
std::cerr << "set region to " << r << std::endl;
if (!r) { if (!r) {
/* clear operation, no need to talk to the worker thread */ /* clear operation, no need to talk to the worker thread */
std::cerr << "set pending to " << Trigger::MagicClearPointerValue << std::endl;
set_pending ((Trigger*) Trigger::MagicClearPointerValue); set_pending ((Trigger*) Trigger::MagicClearPointerValue);
request_stop (); request_stop ();
} else { } else {
@ -313,7 +310,6 @@ Trigger::clear_region ()
{ {
/* Called from RT process thread */ /* Called from RT process thread */
std::cerr << "trigger " << index() << " clearing own region\n";
_region.reset (); _region.reset ();
} }
@ -1778,7 +1774,6 @@ TriggerBox::maybe_swap_pending (uint32_t slot)
p = all_triggers[slot]->swap_pending (p); p = all_triggers[slot]->swap_pending (p);
if (p) { if (p) {
std::cerr << " box " << order() << " slot " << slot << " pending discovered, switching to " << p << std::endl;
if (p == Trigger::MagicClearPointerValue) { if (p == Trigger::MagicClearPointerValue) {
all_triggers[slot]->clear_region (); all_triggers[slot]->clear_region ();