Show
Ignore:
Timestamp:
06/14/09 20:42:19 (4 years ago)
Author:
saturday06
Message:

jioajdfadf:::

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/src/mil/include/mil/gui-cocoa/GuiModule.h

    r33892 r33968  
    7474    GuiModule() : tls(this->thread_id), repost(false), isWaiting(false), window(NULL) 
    7575    { 
     76        set_auto_join(this); 
    7677    } 
    7778 
     
    111112    } 
    112113public: 
     114    void requestExit() 
     115    { 
     116        ExitEvent e; 
     117                post(e, *this); 
     118    } 
     119 
    113120    template <typename T, typename Sender> 
    114121    void post(const T& event, Sender& sender, void* memory = NULL, intptr_t owner_id = 0) 
     
    154161 
    155162    ~GuiModule() { 
    156         ExitEvent e; 
    157         post(e, *this); 
    158         //destroy(); 
    159         this->join(); 
     163        do_auto_join(); 
    160164    } 
    161165