Skip to content

4.101.0 - Add Async Storage shutdown

Compare
Choose a tag to compare
@penny-for-vapor penny-for-vapor released this 24 May 10:38
· 5 commits to main since this release
cc98361

What's Changed

Add Async Storage shutdown by @0xTim in #3196

Currently running

Task {
    try? await Task.sleep(for: .seconds(5))
    app.running?.stop()
}

When you try and install NIO as the global executor will crash because the storage API didn’t have any async entry points so stopping would trigger a synchronous shutdown, with a wait(). This fixes that

This patch was released by @0xTim

Full Changelog: 4.100.2...4.101.0