SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 35 C++

[ObjC] Ensure -[GPBCodedOutputStream dealloc] cannot throw exceptions

If `-[GPBCodedOutputStream flush]` failed (e.g., because the filesystem
was out of space), then `-[GPBCodedOutputStream dealloc]` would throw
an exception.

`-dealloc` cannot fail, so the only thing to do in this case is to silently
swallow the exception.

PiperOrigin-RevId: 579916429
P
Protobuf Team Bot committed
a2815fa13fee316ab9ed764391a4311fe25d1d4a
Parent: 349122f
Committed by Copybara-Service <copybara-worker@google.com> on 11/6/2023, 8:04:29 PM