13
0

Remove old safety check

These days it only produces false positives (locate at start
of session export).

We leave `ENSURE_PROCESS_THREAD` in place, since it may
come in handy at some point (eg. static analysis, documentation)
This commit is contained in:
Robin Gareus 2024-10-14 22:52:37 +02:00
parent 6a2d3fcbec
commit eb87b0e2eb
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -73,18 +73,7 @@ using namespace ARDOUR;
using namespace PBD;
using namespace Temporal;
#ifdef NDEBUG
#define ENSURE_PROCESS_THREAD do {} while (0)
#else
# define ENSURE_PROCESS_THREAD \
do { \
if (!AudioEngine::instance()->in_process_thread() \
&& !loading ()) { \
PBD::stacktrace (std::cerr, 30); \
} \
} while (0)
#endif
#define TFSM_EVENT(evtype) { _transport_fsm->enqueue (new TransportFSM::Event (evtype)); }
#define TFSM_ROLL() { _transport_fsm->enqueue (new TransportFSM::Event (TransportFSM::StartTransport)); }