From: Jeffrey Czyz Date: Sun, 18 Jul 2021 17:33:15 +0000 (-0500) Subject: Explicitly stop BackgroundProcessor X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=664bc4ac7fb9c5fa1fca0bcaaeb5c0faee318d19;hp=664bc4ac7fb9c5fa1fca0bcaaeb5c0faee318d19;p=ldk-sample Explicitly stop BackgroundProcessor An upcoming change will stop the BackgroundProcessor's thread upon drop. Store the processor in a variable and explicitly stop it. Otherwise, the thread would be stopped immediately after it is started. ---