[D-runtime] [dlang/druntime] 20f84a: fix Issue 16594 - static dtors called twice w/ exc...

GitHub via D-runtime d-runtime at puremagic.com
Fri Oct 7 08:51:56 PDT 2016


  Branch: refs/heads/stable
  Home:   https://github.com/dlang/druntime
  Commit: 20f84a3fd96859da98291f34107065b876a4ce6c
      https://github.com/dlang/druntime/commit/20f84a3fd96859da98291f34107065b876a4ce6c
  Author: Martin Nowak <code at dawg.eu>
  Date:   2016-10-05 (Wed, 05 Oct 2016)

  Changed paths:
    M src/rt/dmain2.d
    M test/exceptions/Makefile
    A test/exceptions/src/static_dtor.d

  Log Message:
  -----------
  fix Issue 16594 - static dtors called twice w/ exception

- must call finiSections when an exception is thrown in a destructor
- marks runtime as shut down, so final unloading
  of executable doesn't try to run module dtors again


  Commit: cccf03e08713229665ea5f4a00878cd589ce4a97
      https://github.com/dlang/druntime/commit/cccf03e08713229665ea5f4a00878cd589ce4a97
  Author: Martin Nowak <code at dawg.eu>
  Date:   2016-10-05 (Wed, 05 Oct 2016)

  Changed paths:
    M test/exceptions/Makefile

  Log Message:
  -----------
  fix trailing ws and remove unused rule


  Commit: a9102475cfe169a7fac2c6ce2494f5a272765b21
      https://github.com/dlang/druntime/commit/a9102475cfe169a7fac2c6ce2494f5a272765b21
  Author: Steven Schveighoffer <schveiguy at yahoo.com>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M src/rt/dmain2.d
    M test/exceptions/Makefile
    A test/exceptions/src/static_dtor.d

  Log Message:
  -----------
  Merge pull request #1665 from MartinNowak/fix16594

fix Issue 16594 - static dtors called twice w/ exception


Compare: https://github.com/dlang/druntime/compare/f54fa2d97dbf...a9102475cfe1


More information about the D-runtime mailing list