Skip to content

Commit

Permalink
Merge pull request #4766 from JoergAtGithub/TraceJavascriptConnection
Browse files Browse the repository at this point in the history
Added Trace for the mapping connections, to allow JS profiling.
  • Loading branch information
daschuer authored Jun 6, 2022
2 parents 4e90c68 + ed819cb commit 3d915de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controllers/scripting/legacy/scriptconnection.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#include "controllers/scripting/legacy/scriptconnection.h"

#include "controllers/scripting/legacy/controllerscriptenginelegacy.h"
#include "util/trace.h"

void ScriptConnection::executeCallback(double value) const {
Trace executeCallbackTrace("JS %1 callback", key.item);
const auto args = QJSValueList{
value,
key.group,
Expand Down

0 comments on commit 3d915de

Please sign in to comment.