diff --git a/matrix/matrix-android/matrix-trace-canary/src/main/java/com/tencent/matrix/trace/view/FrameDecorator.java b/matrix/matrix-android/matrix-trace-canary/src/main/java/com/tencent/matrix/trace/view/FrameDecorator.java index 1b1cbbe49..c1d16f35a 100644 --- a/matrix/matrix-android/matrix-trace-canary/src/main/java/com/tencent/matrix/trace/view/FrameDecorator.java +++ b/matrix/matrix-android/matrix-trace-canary/src/main/java/com/tencent/matrix/trace/view/FrameDecorator.java @@ -370,7 +370,9 @@ public static FrameDecorator getInstance(final Context context) { mainHandler.post(new Runnable() { @Override public void run() { - instance = new FrameDecorator(context, new FloatFrameView(context)); + if (instance == null) { + instance = new FrameDecorator(context, new FloatFrameView(context)); + } synchronized (lock) { lock.notifyAll(); }