We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ec26c commit 486de95Copy full SHA for 486de95
vm/boostenv/main/boostvm.cc
@@ -164,7 +164,8 @@ void BoostVM::run() {
164
}
165
166
void BoostVM::onPreemptionTimerExpire(const boost::system::error_code& error) {
167
- if (error != boost::asio::error::operation_aborted) {
+ if (error != boost::asio::error::operation_aborted &&
168
+ !_terminationRequested) {
169
// Preemption
170
vm->setReferenceTime(env.getReferenceTime());
171
vm->requestPreempt();
0 commit comments