Repository navigation
package:objective_c v9.6.1
·
62 commits
to main
since this release
- Fix a crash in the
NSInputStreamreturned bytoNSInputStream: reading
from or closing the stream after its Dart side had already closed it raised
NSInternalInconsistencyException("DartInputStreamAdapter:
Dart_PostCObject_DL failed") and aborted the process.NSURLSessiondoes
exactly that with a request body stream when the request completes with an
error or is cancelled right after it starts.closeis now idempotent, and
a read on a closed stream (or one whose Dart owner is gone) fails with -1
instead of asserting. - Fix a bug where
toNSData/toNSMutableDataadded the returnedNSData
to the autorelease pool. - Fix a bug where
toNSInputStreamwould create cycles between Dart and
Objective-C.