Skip to content

Commit

Permalink
minor: allow to bypass useless asan warnings through an environment v…
Browse files Browse the repository at this point in the history
…ariable skipping some checks and downloads
  • Loading branch information
jcelerier committed Dec 27, 2024
1 parent 8bfc1e2 commit 0f69e4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ static void setup_opengl(bool& enable_opengl_ui)
{
return;
}
if(qEnvironmentVariableIsSet("SCORE_SANITIZE_SKIP_CHECKS"))
return;

#ifndef QT_NO_OPENGL
#if defined(__arm__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ void PluginSettingsView::firstTimeLibraryDownload()

void PluginSettingsView::refresh()
{
if(qEnvironmentVariableIsSet("SCORE_SANITIZE_SKIP_CHECKS"))
return;
QNetworkRequest rqst{
QUrl("https://raw.githubusercontent.com/ossia/score-addons/master/addons.json")};
mgr.get(rqst);
Expand Down

0 comments on commit 0f69e4b

Please sign in to comment.