vadymmarkov / Beethoven

:guitar: A maestro of pitch detection.
https://github.com/vadymmarkov
Other
824 stars 146 forks source link

crash if InputSignalTracker.stop() is called twice #31

Closed glaurent closed 8 years ago

glaurent commented 8 years ago

public func stop() { audioEngine.stop() audioEngine.reset() audioEngine = nil captureSession.stopRunning() }

on 2nd call, audioEngine.stop() will crash since audioEngine is nil.

vadymmarkov commented 8 years ago

Fixed by https://github.com/vadymmarkov/Beethoven/pull/32