Commit 6776352f authored by Jacob Richman's avatar Jacob Richman Committed by Vyacheslav Egorov

Only register WidgetInspectorService extension in debug builds. (#22238)

parent 27d90045
......@@ -323,7 +323,10 @@ abstract class WidgetsBinding extends BindingBase with SchedulerBinding, Gesture
}
);
assert(() {
WidgetInspectorService.instance.initServiceExtensions(registerServiceExtension);
return true;
}());
}
Future<Null> _forceRebuild() {
......
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