Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash with "immediate" finalization #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tsujan
Copy link
Contributor

@tsujan tsujan commented Nov 21, 2016

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
Copy link
Member

PCMan commented Nov 26, 2016

@LStranger what's your opinion on this one?

@agaida
Copy link
Member

agaida commented Sep 19, 2017

@LStranger?

@tsujan
Copy link
Contributor Author

tsujan commented Sep 19, 2017

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

@agaida
Copy link
Member

agaida commented Sep 19, 2017

:)

@LStranger
Copy link
Member

LStranger commented Jan 29, 2021

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