The code below generates this error (appending to exporters):
exporters
fatal error: UnsafeMutablePointer.deinitialize with negative count
I have solved this type of issue like this way:
DispatchQueue.global(qos: .background).sync { //your code }