mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
note about thread safety
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@66 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user