Skip to content

Commit

Permalink
fix: stop
Browse files Browse the repository at this point in the history
  • Loading branch information
gtokman committed Nov 12, 2023
1 parent 6a542fd commit a2e5696
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/HapticsFileHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ public class Vibrator {
public func stopHaptic() {
stopHapticLoopTimer()
try? hapticPlayer?.stop(atTime: CHHapticTimeImmediate)
hapticEngine?.stop()
hapticPlayer = nil
}

Expand Down

0 comments on commit a2e5696

Please sign in to comment.