mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-21 21:15:45 -05:00
#1456 Resolves issue with shutdown when no sdrplay api is available. Version update to 0.6.0 alpha-2 (#1457)
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -30,7 +30,7 @@ repositories {
|
||||
maven { url "https://jitpack.io" }
|
||||
}
|
||||
|
||||
version = '0.6.0-alpha1'
|
||||
version = '0.6.0-alpha2'
|
||||
|
||||
//Java 19 is required for this version of the Project Panama preview/incubator feature
|
||||
java {
|
||||
|
||||
@@ -560,6 +560,8 @@ public class SDRplay
|
||||
* Foreign Function support is implemented, but not sure. dls 1-Jan-2023
|
||||
*/
|
||||
public Status close()
|
||||
{
|
||||
if(mSdrplayLibraryLoaded)
|
||||
{
|
||||
Status closeStatus;
|
||||
|
||||
@@ -577,6 +579,11 @@ public class SDRplay
|
||||
mAvailable = false;
|
||||
return closeStatus;
|
||||
}
|
||||
else
|
||||
{
|
||||
return Status.API_UNAVAILABLE;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Identifies the API version.
|
||||
|
||||
Reference in New Issue
Block a user