| Index: ceee/ie/broker/executors_manager.h
|
| ===================================================================
|
| --- ceee/ie/broker/executors_manager.h (revision 66790)
|
| +++ ceee/ie/broker/executors_manager.h (working copy)
|
| @@ -90,10 +90,14 @@
|
|
|
| // Traits for Singleton<ExecutorsManager> so that we can pass an argument
|
| // to the constructor.
|
| - struct SingletonTraits : public DefaultSingletonTraits<ExecutorsManager> {
|
| + struct SingletonTraits {
|
| static ExecutorsManager* New() {
|
| return new ExecutorsManager(false); // By default, we want a thread.
|
| }
|
| + static void Delete(ExecutorsManager* x) {
|
| + delete x;
|
| + }
|
| + static const bool kRegisterAtExit = true;
|
| };
|
|
|
| protected:
|
|
|