diff --git a/projects/clr/hipamd/src/hip_device.cpp b/projects/clr/hipamd/src/hip_device.cpp index c175b1f3e8..e2a8ff0098 100644 --- a/projects/clr/hipamd/src/hip_device.cpp +++ b/projects/clr/hipamd/src/hip_device.cpp @@ -39,6 +39,7 @@ hip::Stream* Device::NullStream(bool wait) { // Stream creation might be failed from rcor and in that case, vdev is null. if (null_stream_->vdev() == nullptr) { Stream::Destroy(null_stream_); + null_stream_ = nullptr; } } }