Revert "rocr: Don't assert in hsa_shut_down when no agents (#1115)" (#1312)

This reverts commit fb8ab442b6.
이 커밋은 다음에 포함됨:
cfreeamd 작성하고 GitHub가 2025-10-17 08:36:06 -07:00를 커밋함
1 부모 6b109c11c4
커밋 911a2f42c1
1 파일이 변경됨
+2 -2
+2 -2
파일 보기
@@ -2316,12 +2316,12 @@ void Runtime::Unload() {
mapped_handle_map_.clear();
memory_handle_map_.clear();
DestroyAgents();
CloseTools();
AMD::Unload();
DestroyAgents();
DestroyDrivers();
thunkLoader_->DestroyThunkInstance();