From 4cd322a4e80c503434b8f1ae18e8b958e950e4e2 Mon Sep 17 00:00:00 2001 From: Haowen Wu Date: Thu, 22 Oct 2020 17:02:31 +0800 Subject: [PATCH 1/2] Fix recording miss when storage is not ready --- MTHawkeye/Core/MTHawkeyeClient.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MTHawkeye/Core/MTHawkeyeClient.m b/MTHawkeye/Core/MTHawkeyeClient.m index a2ffe81..1f39814 100644 --- a/MTHawkeye/Core/MTHawkeyeClient.m +++ b/MTHawkeye/Core/MTHawkeyeClient.m @@ -134,6 +134,9 @@ - (void)doStart { self.plugins = [plugins copy]; self.statusFlushPlugins = [statusFlushPlugins copy]; } + + // create storage first + [MTHawkeyeStorage shared]; // if a plugin need start earlier, it should load it earlier by itself. [self.plugins makeObjectsPerformSelector:@selector(hawkeyeClientDidStart)]; From b02e876bb026bce930690c5a77b2bcad29b55ca7 Mon Sep 17 00:00:00 2001 From: Haowen Wu Date: Thu, 22 Oct 2020 17:03:39 +0800 Subject: [PATCH 2/2] Bump version to 0.12.4 --- MTHawkeye.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MTHawkeye.podspec b/MTHawkeye.podspec index 1d316e3..6d2a38a 100644 --- a/MTHawkeye.podspec +++ b/MTHawkeye.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "MTHawkeye" - s.version = "0.12.3" + s.version = "0.12.4" s.summary = "Profiling/Debugging assist tools for iOS." s.description = <<-DESC