Initialize the Default Event Bus Statically #23

Merged
kske merged 1 commits from f/static-singleton-initialization into develop 2021-10-16 08:33:08 +02:00

1 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 33ebf0302b
Initialize the default event bus statically
The previous method that used double checked synchronization offers
little performance benefits over a plain static initialization.

Reported-by @harkle-the-cake
2021-10-16 08:32:28 +02:00