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
Right now these methods use Kotlin's .use method to auto-close a closeable object... but the problem is they resolve their promises inside the execution block, thus the resolution happens before the stream closure.
The text was updated successfully, but these errors were encountered:
The following methods have been patched:
- appendFile()
- write()
- writeFile()
all they had a similar issue after recent migration to Kotlin: they were
resolving their result promise before closing their output streams, thus
before the written content was guaranteed to be flushed into the
underlyig file system.
Right now these methods use Kotlin's
.use
method to auto-close a closeable object... but the problem is they resolve their promises inside the execution block, thus the resolution happens before the stream closure.The text was updated successfully, but these errors were encountered: