File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ and this project adheres to
52
52
- Removed unnecessary memory allocations in ` SideChannelManager.GetSideChannelMessage() ` (#4886 )
53
53
- Removed several memory allocations that happened during inference. On a test scene, this
54
54
reduced the amount of memory allocated by approximately 25%. (#4887 )
55
+ - Properly catch permission errors when writing timer files. (#4921 )
55
56
56
57
#### ml-agents / ml-agents-envs / gym-unity (Python)
57
58
- Fixed a bug that would cause an exception when ` RunOptions ` was deserialized via ` pickle ` . (#4842 )
Original file line number Diff line number Diff line change @@ -477,9 +477,9 @@ public void SaveJsonTimers(string filename = null)
477
477
SaveJsonTimers ( fs ) ;
478
478
fs . Close ( ) ;
479
479
}
480
- catch ( IOException )
480
+ catch ( SystemException )
481
481
{
482
- // It's possible we don't have write access to the directory.
482
+ // We may not have write access to the directory.
483
483
Debug . LogWarning ( $ "Unable to save timers to file { filename } ") ;
484
484
}
485
485
#endif
You can’t perform that action at this time.
0 commit comments