fix AIX bustage
git-svn-id: svn://10.0.0.236/trunk@196263 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -165,6 +165,13 @@ public:
|
||||
mon.Wait();
|
||||
}
|
||||
|
||||
// This method needs to be public to support older compilers (xlC_r on AIX).
|
||||
// It should be called directly as this class type is reference counted.
|
||||
virtual ~nsThreadStartupEvent() {
|
||||
if (mMon)
|
||||
nsAutoMonitor::DestroyMonitor(mMon);
|
||||
}
|
||||
|
||||
private:
|
||||
NS_IMETHOD Run() {
|
||||
nsAutoMonitor mon(mMon);
|
||||
@@ -178,11 +185,6 @@ private:
|
||||
, mInitialized(PR_FALSE) {
|
||||
}
|
||||
|
||||
virtual ~nsThreadStartupEvent() {
|
||||
if (mMon)
|
||||
nsAutoMonitor::DestroyMonitor(mMon);
|
||||
}
|
||||
|
||||
PRMonitor *mMon;
|
||||
PRBool mInitialized;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user