Skip to content

Commit 36eb739

Browse files
author
Avaer Kazmer
authored
Merge pull request #852 from webmixedreality/ml-exit-log
Add MLContext exit logging
2 parents f877815 + f2ca18c commit 36eb739

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deps/exokit-bindings/magicleap/src/magicleap.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3095,6 +3095,8 @@ NAN_METHOD(MLContext::Present) {
30953095
}
30963096

30973097
NAN_METHOD(MLContext::Exit) {
3098+
ML_LOG(Info, "%s: MLContext exit start", application_name);
3099+
30983100
MLContext *mlContext = ObjectWrap::Unwrap<MLContext>(info.This());
30993101

31003102
if (MLGraphicsDestroyClient(&mlContext->graphics_client) != MLResult_Ok) {
@@ -3158,6 +3160,8 @@ NAN_METHOD(MLContext::Exit) {
31583160

31593161
// HACK: force the app to be "stopped"
31603162
application_context.dummy_value = DummyValue::STOPPED;
3163+
3164+
ML_LOG(Info, "%s: MLContext exit end", application_name);
31613165
}
31623166

31633167
/* NAN_METHOD(MLContext::WaitGetPoses) {

0 commit comments

Comments
 (0)