Skip to content

Commit

Permalink
Merge pull request #70 from meitu/bugfix/storage
Browse files Browse the repository at this point in the history
Fix recording miss when storage is not ready
  • Loading branch information
haowenwu authored Oct 22, 2020
2 parents 4df84c9 + b02e876 commit b130920
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MTHawkeye.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions MTHawkeye/Core/MTHawkeyeClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)];
Expand Down

0 comments on commit b130920

Please sign in to comment.