summaryrefslogtreecommitdiffstats
path: root/container-di
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@verizonmedia.com>2019-09-12 11:06:59 +0000
committerTor Brede Vekterli <vekterli@verizonmedia.com>2019-09-12 11:06:59 +0000
commit4059722376876b65d8b93a13259cd280a9d878b3 (patch)
treea4a0c2cfeb0ba355b047dbe87232ef72af12b033 /container-di
parent6648f89d562f732972df42214e7b0895edf04659 (diff)
Ensure static `SBEnv` instance is destroyed when exceptions are triggered
Since the instance is declared as `static` it will otherwise be destroyed as part of the global destructor invocation cycle at exit. Any transitive dependencies that are also static may or may not be destroyed prior to the `SBEnv` instance itself, causing undefined behavior.
Diffstat (limited to 'container-di')
0 files changed, 0 insertions, 0 deletions