this->jenv_ = env;
}
-void JavaContext::stop()
+void JavaContext::stop_hook()
{
JNIEnv* env = this->jenv_;
env->DeleteGlobalRef(this->jprocess_);
// XBT_ERROR("Cannot detach the current thread");
// simgrid::xbt::Backtrace().display();
}
- ThreadContext::stop();
}
}}} // namespace simgrid::kernel::context