Skip to content

Fix detuning crash after deleting the note being edited#4324

Merged
PhysSong merged 1 commit into
LMMS:stable-1.2from
PhysSong:detunecrash
Apr 30, 2018
Merged

Fix detuning crash after deleting the note being edited#4324
PhysSong merged 1 commit into
LMMS:stable-1.2from
PhysSong:detunecrash

Conversation

@PhysSong

Copy link
Copy Markdown
Member

Fixes #4168 by using QPointer instead of plain pointer.
The nullify-on-delete behavior of QPointer will prevent calling disconnect for deleted patterns, so fixes the crash.

@PhysSong

Copy link
Copy Markdown
Member Author

Merge?

@zonkmachine

Copy link
Copy Markdown
Contributor

Issue and fix confirmed. The code is beyond me but it's only four lines. What could possibly go wrong... 8) Go ahead and merge.

@PhysSong PhysSong merged commit 08573fc into LMMS:stable-1.2 Apr 30, 2018
@PhysSong PhysSong deleted the detunecrash branch April 30, 2018 05:54
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
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.

Mac port crashes when using note detune

2 participants