mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
Remove worker thread from remote event publishing to free database connections
This commit is contained in:
parent
04cc65a532
commit
226d73cc6d
@ -169,9 +169,7 @@ final class RemoteEventPublisher {
|
||||
if (object instanceof AutopsyEvent) {
|
||||
AutopsyEvent event = (AutopsyEvent) object;
|
||||
event.setSourceType(AutopsyEvent.SourceType.REMOTE);
|
||||
new Thread(() -> {
|
||||
localPublisher.publish(event);
|
||||
}).start();
|
||||
localPublisher.publish(event);
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user