Interupting doesn't seem to flush eventlog buffers
When heap profiling long-running applications it seems that killing a process with Ctrl-C
doesn't cause the eventlog buffers to be flushed. The signal handle seems to be designed to flush "profiling output" but the control flow around this area made my head spin, so I couldn't see where the flush was supposed to happen.