Commit 87f61e27 authored by twanvl's avatar twanvl

note about thread safety

parent 23fd1372
...@@ -29,6 +29,7 @@ DECLARE_TYPEOF_COLLECTION(String); ...@@ -29,6 +29,7 @@ DECLARE_TYPEOF_COLLECTION(String);
void handle_error(const String& e, bool allow_duplicate = true, bool now = true) { void handle_error(const String& e, bool allow_duplicate = true, bool now = true) {
// Check duplicates // Check duplicates
// TODO: thread safety
if (!allow_duplicate) { if (!allow_duplicate) {
FOR_EACH(pe, previous_errors) { FOR_EACH(pe, previous_errors) {
if (e == pe) return; if (e == pe) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment