Fix GLFW crash when Python exits while the passive viewer is running.
Fixes #790 PiperOrigin-RevId: 549440435 Change-Id: I808f6aaab6662225e5fe1131e0da72eca6011ba9
This commit is contained in:
committed by
Copybara-Service
parent
8386b28877
commit
f7847ba73e
@@ -21,7 +21,7 @@ PlatformUIAdapter::PlatformUIAdapter() {
|
||||
mjr_defaultContext(&con_);
|
||||
}
|
||||
|
||||
PlatformUIAdapter::~PlatformUIAdapter() {
|
||||
void PlatformUIAdapter::FreeMjrContext() {
|
||||
mjr_freeContext(&con_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user