arrow icon indicating copy to clipboard operation
arrow copied to clipboard

Move `autoClose` for `Resource` to `common`

Open serras opened this issue 1 year ago • 1 comments

AutoCloseable is now in Kotlin standard library, so we can move autoClose to commonMain, instead of relegating it to JVM. This breaks binary compatibility, but not source compatibility, so this is OK in the 2.0 window.

serras avatar Aug 25 '24 13:08 serras