fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -9,6 +9,7 @@ import Foundation
|
||||
import CoreMIDI
|
||||
@testable @_spi(LyrebirdExtensions) import LyrebirdSynth
|
||||
|
||||
@MainActor
|
||||
@Suite("MIDIMessage")
|
||||
struct MIDIMessageTests {
|
||||
|
||||
@@ -126,6 +127,7 @@ struct MIDIMessageTests {
|
||||
|
||||
// MARK: - MIDI handler token management
|
||||
|
||||
@MainActor
|
||||
@Suite("MIDI tokens")
|
||||
struct MIDITokenTests {
|
||||
|
||||
@@ -152,6 +154,7 @@ private let handlerPropagationDelay: UInt64 = 50_000_000 // 50 ms — time for a
|
||||
|
||||
// MARK: - MIDI dispatch integration
|
||||
|
||||
@MainActor
|
||||
@Suite("MIDI dispatch")
|
||||
struct MIDIDispatchTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user