Home Forums Software Development Sample MinimalEyePositionDataStream txShutdownContext results in TX_RESULT_OBJEC

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2584
    Markus Proell
    Participant

    Hi,

    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

    #2593
    Patrik [Tobii]
    Participant

    Thanks 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)
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.