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:
parent
6a2d3fcbec
commit
eb87b0e2eb
@ -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)); }
|
||||
|
Loading…
Reference in New Issue
Block a user