mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Reenable JS calls to systrace on reload
Summary: public After reloading the JS side of the profiler wasn't being reenabled. Reviewed By: javache Differential Revision: D2602258 fb-gh-sync-id: 5de8afb829e9fa8225600e2b0ff9e00313ac1d4c
This commit is contained in:
committed by
facebook-github-bot-5
parent
d33e84dde5
commit
23f7c3acd9
@@ -14,7 +14,7 @@
|
||||
var GLOBAL = GLOBAL || this;
|
||||
var TRACE_TAG_REACT_APPS = 1 << 17;
|
||||
|
||||
var _enabled = false;
|
||||
var _enabled;
|
||||
var _ReactPerf = null;
|
||||
function ReactPerf() {
|
||||
if (!_ReactPerf) {
|
||||
@@ -63,4 +63,6 @@ var BridgeProfiling = {
|
||||
},
|
||||
};
|
||||
|
||||
BridgeProfiling.setEnabled(global.__RCTProfileIsProfiling || false);
|
||||
|
||||
module.exports = BridgeProfiling;
|
||||
|
||||
Reference in New Issue
Block a user