Skip to content

Exception in LeapC when closing application #1708

@daniel-mcguinness-ST

Description

@daniel-mcguinness-ST

Describe the bug
When closing an application built with the Ultraleap Tracking 7.3.0, LeapC throws an exception.

[Physics::Module] Cleanup current backend.
[Physics::Module] Id: 0xf2b8ea05
Input System module state changed to: ShutdownInProgress.
Input System polling thread stopped.
Input System polling thread exited.
Input System module state changed to: Shutdown.
Exception: System.Threading.ThreadAbortException: Thread was being aborted.
  at (wrapper managed-to-native) LeapInternal.LeapC.PollConnection(intptr,uint,LeapInternal.LEAP_CONNECTION_MESSAGE&)
  at LeapInternal.Connection.processMessages () [0x0005e] in <638f1058d52441a2af5defa3e992ed04>:0 

To Reproduce
This has been tested with Unity 6.3.10f1.

  1. Create a new project.
  2. Import Ultraleap Tracking 7.3.0.
  3. Build and run project.
  4. Close application.
  5. Application will hang and LeapC exception will be shown in logs.

Expected behavior
Application closes cleanly.

Desktop (please complete the following information):

  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions