Home › Forums › Software Development › Sample MinimalEyePositionDataStream txShutdownContext results in TX_RESULT_OBJEC
- This topic has 1 reply, 2 voices, and was last updated 8 years, 7 months ago by
Patrik [Tobii].
- AuthorPosts
- 22/02/2015 at 20:55 #2584
Markus Proell
ParticipantHi,
just to let you know, the sample “MinimalEyePositionDataStream” in the SDK 1.3.443 does not exit cleanly for me. txShutdownContext() does actually exit with TX_RESULT_OBJECTLEAKAGE.
After some time I could track down the problem to InitializeGlobalInteractorSnapshot() function. It looks like the hBehaviorWithoutParameters handle also needs to be released with:
txReleaseObject(&hBehaviorWithoutParameters);
I also could not find information where the logs are stored when setting the parameter true in txCreateContext(&hContext, TX_TRUE) and txShutdownContext(hContext, TX_CLEANUPTIMEOUT_DEFAULT, TX_TRUE). This might have helped me finding the cause quicker.
Thx,
Best,Markus
24/02/2015 at 11:05 #2593Patrik [Tobii]
ParticipantThanks for bringing this to our attention!
Regarding your question; when you call
txInitializeEyeX
you have the option to provide a custom (or build in) logging model.TX_LOGGINGMODEL myLoggingModel; myLoggingModel.Targets = TX_LOGTARGET_CONSOLE; txInitializeEyeX(TX_EYEXCOMPONENTOVERRIDEFLAG_LOGGINGMODEL, &myLoggingModel, NULL, NULL, NULL)
- AuthorPosts
- You must be logged in to reply to this topic.