Skip to content

Fix crash with "immediate" finalization#19

Open
tsujan wants to merge 1 commit into
masterfrom
fast_finalization
Open

Fix crash with "immediate" finalization#19
tsujan wants to merge 1 commit into
masterfrom
fast_finalization

Conversation

@tsujan

@tsujan tsujan commented Nov 21, 2016

Copy link
Copy Markdown
Contributor

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 lxqt/pcmanfm-qt#397 and especially, lxqt/pcmanfm-qt#397 (comment)). This commit is a hack rather than a nice solution.

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 lxqt/pcmanfm-qt#397 and especially, lxqt/pcmanfm-qt#397 (comment)). This commit is a hack rather than a nice solution.
@PCMan

PCMan commented Nov 26, 2016

Copy link
Copy Markdown
Member

@LStranger what's your opinion on this one?

@agaida

agaida commented Sep 19, 2017

Copy link
Copy Markdown
Member

@LStranger?

@tsujan

tsujan commented Sep 19, 2017

Copy link
Copy Markdown
Contributor Author

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

@agaida

agaida commented Sep 19, 2017

Copy link
Copy Markdown
Member

:)

@LStranger LStranger force-pushed the master branch 2 times, most recently from 13d44ef to bb91bc7 Compare April 28, 2018 19:16
@LStranger

LStranger commented Jan 29, 2021

Copy link
Copy Markdown
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants