Skip to content

Commit

Permalink
fix OTF server crash on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Nov 4, 2024
1 parent 4b9664b commit 9c5f6a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions VERSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
ChucK VERSIONS log
------------------

1.5.4.1
=======
(patch release)
- (fixed, linux) a crash when the OTF handles an OTF command (add or replace)


1.5.4.0 (November 2024)
=======
\/\/\/\/\/
Expand Down
3 changes: 2 additions & 1 deletion src/core/chuck_otf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ t_CKUINT otf_process_msg( Chuck_VM * vm, Chuck_Compiler * compiler,

cleanup:
// close file handle
if( fd ) fclose( fd );
// if( fd ) fclose( fd );
// 1.5.4.1 (ge) not needed, file handle should be cleaned up as part of compile-target

return ret;
}
Expand Down

0 comments on commit 9c5f6a5

Please sign in to comment.