#2304 sdrplay api now handles device failure without crash (#2309)

Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
Denny Sheirer
2025-11-22 05:44:19 -05:00
committed by GitHub
parent bbde3033b7
commit de100b4662

View File

@@ -1,6 +1,6 @@
/*
* *****************************************************************************
* Copyright (C) 2014-2024 Dennis Sheirer
* Copyright (C) 2014-2025 Dennis Sheirer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -83,7 +83,7 @@ public class DeviceEventAdapter implements sdrplay_api_EventCallback_t.Function
mDeviceEventListener.processPowerOverload(tunerSelect,
EventParametersFactory.createPowerOverloadCallbackParameters(eventParams));
}
case DEVICE_REMOVED ->
case DEVICE_REMOVED, DEVICE_FAILURE ->
{
mDeviceEventListener.processDeviceRemoval(tunerSelect);
}