libfm icon indicating copy to clipboard operation
libfm copied to clipboard

Fix crash with "immediate" finalization

Open tsujan opened this issue 8 years ago • 5 comments

If _fm_file_info_finalize() and _fm_mime_type_finalize() are called "immediately" after initialization, some FmFileInfo functions might still be called and so, a crash might happen (see https://github.com/lxde/pcmanfm-qt/issues/397 and especially, https://github.com/lxde/pcmanfm-qt/issues/397#issuecomment-261772717). This commit is a hack rather than a nice solution.

tsujan avatar Nov 21 '16 12:11 tsujan

@LStranger what's your opinion on this one?

PCMan avatar Nov 26 '16 07:11 PCMan

@LStranger?

agaida avatar Sep 19 '17 14:09 agaida

@agaida This doesn't concern us (lxqt) anymore; the code is in libfm-qt now and we don't have this problem.

tsujan avatar Sep 19 '17 14:09 tsujan

:)

agaida avatar Sep 19 '17 14:09 agaida

I hope to rework it all later this year so make it correctly instead of this workaround. I'm sorry for being so late with this.

LStranger avatar Jan 29 '21 20:01 LStranger