--- linuxsampler/trunk/src/scriptvm/tree.cpp 2017/07/15 16:24:59 3311 +++ linuxsampler/trunk/src/scriptvm/tree.cpp 2019/08/01 10:22:56 3551 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 - 2017 Christian Schoenebeck and Andreas Persson + * Copyright (c) 2014 - 2019 Christian Schoenebeck and Andreas Persson * * http://www.linuxsampler.org * @@ -1066,6 +1066,13 @@ } } +ExecContext::ExecContext() : + status(VM_EXEC_NOT_RUNNING), flags(STMT_SUCCESS), stackFrame(-1), + suspendMicroseconds(0), instructionsCount(0) +{ + exitRes.value = NULL; +} + void ExecContext::forkTo(VMExecContext* ectx) const { ExecContext* child = dynamic_cast(ectx);