fix bug of not always dumping core?

This commit is contained in:
Matt 2015-11-08 08:54:46 -07:00
parent 3db9ae5d4d
commit dbe93c2ccf

View File

@ -1654,7 +1654,7 @@ bool Process::shutdown2 ( ) {
log("gb: Dumping core after saving.");
// at least destroy the page caches that have shared memory
// because they seem to not clean it up
resetPageCaches();
//resetPageCaches();
// let's ensure our core file can dump
struct rlimit lim;