Skip to content
Snippets Groups Projects
Commit 0c1c2ec2 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix updater crash

parent 2e939c93
No related branches found
No related tags found
No related merge requests found
......@@ -456,7 +456,7 @@ void ALUpdateHandler::restartToNewVersion()
void ALUpdateHandler::updateCheckFinished(const LLSD& data)
{
if (data.emptyMap()) return;
if (!data.isMap() || data.size() == 0) return;
ALVersionInfo cur_ver(LLVersionInfo::instance().getMajor(), LLVersionInfo::instance().getMinor(), LLVersionInfo::instance().getPatch());
ALVersionInfo new_ver;
if (data.has("futureVersion")) new_ver.parse(data["futureVersion"].asString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment