xdg: don't double close .desktop FD
Before adoption: this commit came in with the history the project adopted, so no landing records it.
In most cases it's "fine", but since .desktop loading is done threaded, there's a risk another thread opens/dups the same FD between the two close() calls. Closes #497
authored by Daniel Eklöf · committed by Daniel Eklöf · parent 43742d4 · Browse files · 2 files+10 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+10 added−3 removed
- other:+10 added−3 removed