| 1992 | } |
| 1993 | |
| 1994 | bool DspNetwork::CodeManager::SnexSourceCompileHandler::triggerCompilation() |
| 1995 | { |
| 1996 | getParent()->getGlobalScope().getBreakpointHandler().abort(); |
| 1997 | |
| 1998 | if (isThreadRunning()) |
| 1999 | stopThread(3000); |
| 2000 | |
| 2001 | auto currentThread = getMainController()->getKillStateHandler().getCurrentThread(); |
| 2002 | |
| 2003 | if (currentThread == MainController::KillStateHandler::TargetThread::SampleLoadingThread || |
| 2004 | currentThread == MainController::KillStateHandler::TargetThread::ScriptingThread) |
| 2005 | { |
| 2006 | getParent()->handleCompilation(); |
| 2007 | return true; |
| 2008 | } |
| 2009 | |
| 2010 | startThread(); |
| 2011 | return false; |
| 2012 | } |
| 2013 | #endif |
| 2014 | |
| 2015 | DeprecationChecker::DeprecationChecker(DspNetwork* n_, ValueTree v_) : |
nothing calls this directly
no test coverage detected