diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c index 3239353c0..3929572ff 100644 --- a/src/hidapi/SDL_hidapi.c +++ b/src/hidapi/SDL_hidapi.c @@ -1098,6 +1098,9 @@ int SDL_hid_exit(void) if (udev_ctx) { result |= PLATFORM_hid_exit(); } +#if __LINUX__ + SDL_UDEV_ReleaseUdevSyms(); +#endif /* __LINUX __ */ #endif /* HAVE_PLATFORM_BACKEND */ #ifdef SDL_LIBUSB_DYNAMIC