Closed humdingerb closed 11 months ago
Similar question, see MainWindow.cpp:143.
delete station;
station = existingStation;
Accessing 'station' right after deleting it?
I'm seeing this same crash consistently.
I built StreamRadio with the “crashEtclean” changes and was not able to replicate this crash or the others.
Good. After Jake declares that PR ready for merging, I have a small PR of my own with a suggestion of a small GUI change and then we're ready for a new release, I reckon.
Closing as fixed
With debuginfo, I get:
If I remove MainWindow.cpp: 315 - '
delete player;
' - there's no crash.I'm not much of a coder, but as 'player' isn't allocated per 'new' on the heap, it doesn't have to be 'delete'd either, right? Or am I missing something?