mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-12 02:05:50 +00:00
Don't process file hashes if we're stopping
This commit is contained in:
parent
41c4e0c83e
commit
de5f31ac58
@ -42,6 +42,10 @@ public class ArbitraryDataFileRequestThread implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void processFileHashes(Long now) {
|
private void processFileHashes(Long now) {
|
||||||
|
if (Controller.isStopping()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try (final Repository repository = RepositoryManager.getRepository()) {
|
try (final Repository repository = RepositoryManager.getRepository()) {
|
||||||
ArbitraryDataFileManager arbitraryDataFileManager = ArbitraryDataFileManager.getInstance();
|
ArbitraryDataFileManager arbitraryDataFileManager = ArbitraryDataFileManager.getInstance();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user