Closed GoogleCodeExporter closed 8 years ago
Development started.
Implementation based on lazy instantiation of singleton and ordered destruction
The implementation is based on the assumption that if a singleton 1 uses a
singleton
2 in his constructor, or if the 2 is used before the 1, the 2 doesn't use the 1
in
his destructor.
In practice, the Logger and the Profiler (that must be used before everyone)
are the
only singletons used by other singletons. So, for now, the assumption is
verified.
In order to avoid this assumption in the future, the singleton pattern must
implement "singleton destruction order levels" ("last" for Logger and Profiler,
...)
Original comment by thoratou@gmail.com
on 7 Jun 2010 at 11:58
Bug fixed in Screen/Utils
Original comment by tt.tranq...@gmail.com
on 12 Jun 2010 at 6:33
fix validated
Original comment by thoratou@gmail.com
on 23 Jun 2010 at 9:11
Original issue reported on code.google.com by
thoratou@gmail.com
on 7 Jun 2010 at 11:46