Skip to content
Snippets Groups Projects
Commit 3a4eb37f authored by Duncan McNamara's avatar Duncan McNamara Committed by Nicolas Pomepuy
Browse files

MediaParsingService: add delay before service kill

In some discovery cases, the medialibrary will internally switch
isWorking to false, before enqueuing another operation. This means that
the service, that has a listener on isWorking, will stop itself, and wont
get any updates on the operation that the medialibrary enqueued. To
conter this, a delay is added, afterwhich the isWorking value is checked
again before killing the service. If at that point the medialibrary is
working, then the service wont commit suicide, and the ui can get
progress updates.
parent af47673f
No related branches found
No related tags found
1 merge request!1346MediaParsingService: fix issues preventing discovery progress display
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment