Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2ce0c6d8 authored by Ralf Habacker's avatar Ralf Habacker

Fix endless loop in java import

The endless loop happens on importing

https://github.com/bisq-network/exchange/tree/master/network/src/main/java/io/bisq/network

CCBUG:386479
parent 0053b091
......@@ -289,6 +289,11 @@ bool JavaImport::parseFile(const QString& filename)
s_parseDepth++;
// in the case of self referencing types, we can avoid parsing the
// file twice by adding it to the list
if (s_filesAlreadyParsed.contains(filename)) {
s_parseDepth--;
return true;
}
s_filesAlreadyParsed.append(filename);
NativeImportBase::parseFile(filename);
s_parseDepth--;
......
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