ikorennoy / jasyncfio

Java asynchronous file I/O based on io_uring Linux interface
Apache License 2.0
71 stars 10 forks source link

EventExecutor::close-method throws NPE #71

Closed JohannesLichtenberger closed 1 year ago

JohannesLichtenberger commented 1 year ago
    void close() {
        ring.close();
        bufRings.values().forEach(IoUringBufRing::close);
    }

the bufRings instance should in either way be initialized to an empty map instead of null if the condition returns false.

ikorennoy commented 1 year ago

Oops, I thought I had fixed it, thank you.

Please update to 0.0.6 and the problem should be gone.