mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 17:17:29 -05:00
#1926 Toolkit not initialized error when running headless during APCO25 channel start processing request. (#1928)
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -395,7 +395,10 @@ public class ChannelProcessingManager implements Listener<ChannelEvent>
|
|||||||
if(source == null)
|
if(source == null)
|
||||||
{
|
{
|
||||||
//This has to be done on the FX event thread when the playlist editor is constructed
|
//This has to be done on the FX event thread when the playlist editor is constructed
|
||||||
Platform.runLater(() -> channel.setProcessing(false));
|
if(!GraphicsEnvironment.isHeadless())
|
||||||
|
{
|
||||||
|
Platform.runLater(() -> channel.setProcessing(false));
|
||||||
|
}
|
||||||
|
|
||||||
mChannelEventBroadcaster.broadcast(new ChannelEvent(channel,
|
mChannelEventBroadcaster.broadcast(new ChannelEvent(channel,
|
||||||
ChannelEvent.Event.NOTIFICATION_PROCESSING_START_REJECTED, TUNER_UNAVAILABLE_DESCRIPTION));
|
ChannelEvent.Event.NOTIFICATION_PROCESSING_START_REJECTED, TUNER_UNAVAILABLE_DESCRIPTION));
|
||||||
|
|||||||
Reference in New Issue
Block a user