Bug 481188 - Prevent log rotation from corrupting the commandNest value.
r=gijs ChatZilla only. git-svn-id: svn://10.0.0.236/trunk@256482 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -200,7 +200,12 @@ function ceip_logevent(data)
|
||||
newFile.createUnique(NORMAL_FILE_TYPE, 0600);
|
||||
oldFile.moveTo(null, newFile.leafName);
|
||||
|
||||
/* startLog() will reset the nest, but we might be in the middle of a
|
||||
* command execution right now and would rather not let that happen.
|
||||
*/
|
||||
var commandNest = this.commandNest;
|
||||
this.startLog();
|
||||
this.commandNest = commandNest;
|
||||
}
|
||||
catch (ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user