Showing the changes to libraries/script-engine/src/SoundEffect.cpp (1 of 7 files). Show all
Unified · Split
| @@ -5,9 +5,6 @@ · 4 unmodified lines | ||
| 5 | 5 | #include <AudioInjector.h> |
| 6 | 6 | |
| 7 | 7 | SoundEffect::~SoundEffect() { |
| 8 | − if (_sound) { | |
| 9 | − _sound->deleteLater(); | |
| 10 | − } | |
| 11 | 8 | if (_injector) { |
| 12 | 9 | // stop will cause the AudioInjector to delete itself. |
| 13 | 10 | _injector->stop(); |