Closed boris-petrov closed 2 years ago
Because in doGetInputStream and doGetOutputStream objectContentHolder is checked against null and only initialized if it is. So on close we set it to null and hopefully that will allow us to open new streams after the file-object has been closed.
doGetInputStream
doGetOutputStream
objectContentHolder
null
close
cc @abashev
Ping @abashev :)
@boris-petrov sorry, I'm busy right, will check it later
@abashev - it's really a single-line fix, could you please take a look, merge and release this when you can? :)
Because in
doGetInputStream
anddoGetOutputStream
objectContentHolder
is checked againstnull
and only initialized if it is. So onclose
we set it tonull
and hopefully that will allow us to open new streams after the file-object has been closed.cc @abashev