[ruby-cvs:70363] nobu:r63273 (trunk): mjit.c: clean so file on Windows

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Apr 27 16:39:01 JST 2018


nobu	2018-04-27 16:39:00 +0900 (Fri, 27 Apr 2018)

  New Revision: 63273

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63273

  Log:
    mjit.c: clean so file on Windows
    
    * mjit.c (dlclose): use FreeLibrary to manage the reference count
      on the loaded module properly.
    
    * mjit.c (clean_so_file): clean shared object file after unloaded,
      in-use files cannot be removed on Windows.

  Modified files:
    trunk/mjit.c
    trunk/test/lib/jit_support.rb
    trunk/test/ruby/test_jit.rb


More information about the ruby-cvs mailing list