Provide a mechanism for SymbolSuppliers to interrupt processing (#93)
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@80 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -40,13 +40,27 @@
|
||||
namespace google_airbag {
|
||||
|
||||
ProcessState::~ProcessState() {
|
||||
Clear();
|
||||
}
|
||||
|
||||
void ProcessState::Clear() {
|
||||
time_date_stamp_ = 0;
|
||||
crashed_ = false;
|
||||
crash_reason_.clear();
|
||||
crash_address_ = 0;
|
||||
requesting_thread_ = -1;
|
||||
for (vector<CallStack *>::const_iterator iterator = threads_.begin();
|
||||
iterator != threads_.end();
|
||||
++iterator) {
|
||||
delete *iterator;
|
||||
}
|
||||
|
||||
threads_.clear();
|
||||
os_.clear();
|
||||
os_version_.clear();
|
||||
cpu_.clear();
|
||||
cpu_info_.clear();
|
||||
delete modules_;
|
||||
modules_ = NULL;
|
||||
}
|
||||
|
||||
} // namespace google_airbag
|
||||
|
Reference in New Issue
Block a user