Repository navigation
Commit 14f0a83
committed
Fix crash on exit
Because the map canvas is destroyed before the project instance,
and QgsProject emits the labelingEngineSettingsChange signal
during its destructor, the lambda slot was getting executed
with a dangling map canvas pointer.
Correctly set the receiver in the lambda connection instead
so that the connection gets destroyed along with the canvas.
(cherry-picked from b683291)1 parent e744455 commit 14f0a83
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3184 | 3184 | | |
3185 | 3185 | | |
3186 | 3186 | | |
3187 | | - | |
| 3187 | + | |
3188 | 3188 | | |
3189 | 3189 | | |
3190 | 3190 | | |
| |||
0 commit comments