- Stop the stopwatch *before* the reference to the parser is released!
- Include util.lib into the list of statically linked libraries
This commit is contained in:
@@ -636,10 +636,10 @@ nsresult nsParser::EnableParser(PRBool aState){
|
||||
result=mInternalState;
|
||||
}
|
||||
|
||||
NS_STOP_STOPWATCH(mTotalTime)
|
||||
|
||||
// Release reference if we added one at the top of this routine
|
||||
NS_IF_RELEASE(me);
|
||||
|
||||
NS_STOP_STOPWATCH(mTotalTime)
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user