This is used to stop a thread that tries to rescue a Sone.
/** The Sone downloader. */
private final SoneDownloader soneDownloader;
/** The Sone downloader. */
private final SoneDownloader soneDownloader;
+ /** Whether the core has been stopped. */
+ private volatile boolean stopped;
+
/** The Sones’ statuses. */
/* synchronize access on itself. */
private final Map<Sone, SoneStatus> soneStatuses = new HashMap<Sone, SoneStatus>();
/** The Sones’ statuses. */
/* synchronize access on itself. */
private final Map<Sone, SoneStatus> soneStatuses = new HashMap<Sone, SoneStatus>();