Skip to content
Snippets Groups Projects
Commit 35e65ab0 authored by John Lindgren's avatar John Lindgren Committed by Simon Steinbeiss
Browse files

Don't call g_object_ref/unref on objects that are being finalized.

ThunarFile objects were not being removed from the file_cache until
thunar_file_finalize().  This leaves a small window of time in which
another thread might call thunar_file_get(), and fetch the partially
finalized ThunarFile from the cache.

There are likely some remaining thread-safety issues with ThunarFile,
due to background jobs making changes to the same objects that are used
simultaneously in the UI thread.
parent b838a4d2
No related branches found
No related tags found
No related merge requests found
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