You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
private func write(_ text: String?) -> String? {
if let str = text, !str.isEmpty {
queue.async {
if let data = (str + "\n").data(using: .utf8) {
self.file?.write(data)
}
}
}
return text
}
The docs say
This method raises fileHandleOperationException if the file descriptor is closed or isn’t valid, if the handle represents an unconnected pipe or socket endpoint, if there isn’t any free space on the file system, or if any other writing error occurs.
Any ideas how to fix this..?
The text was updated successfully, but these errors were encountered:
I just got this crash report.
I assume it's this closure u in
File.swift
fileThe docs say
Any ideas how to fix this..?
The text was updated successfully, but these errors were encountered: