breakfastquay / rubberband

Official mirror of Rubber Band Library, an audio time-stretching and pitch-shifting library.
http://breakfastquay.com/rubberband/
GNU General Public License v2.0
561 stars 89 forks source link

Error calling destructor of RubberBandStretcher #93

Closed dhng22 closed 9 months ago

dhng22 commented 10 months ago

I have a class that has a destructor which call to delete stretcher; (stretcher is a pointer). The program crashed without any informative exception trace. Anyone facing the same issue?

luzpaz commented 9 months ago

bump

dhng22 commented 9 months ago

@luzpaz make the stretcher as an uniqueptr then set it to nullptr solved the problem for me