(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.
This commit is contained in:
@@ -106,7 +106,7 @@ Station::~Station()
|
||||
}
|
||||
lg->RemoveNode(this->goods[c].node);
|
||||
if (lg->Size() == 0) {
|
||||
LinkGraphSchedule::Instance()->Unqueue(lg);
|
||||
LinkGraphSchedule::instance.Unqueue(lg);
|
||||
delete lg;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user