Toggle navigation
Toggle navigation
This project
Loading...
Sign in
尹诚
/
Mapbox-iOS-SDK
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Mikhail Chupin
2014-09-18 00:24:27 +0700
Commit
833ef012d9c181a487558d03dbe7fd98f8c11e66
1 parent
7363e82c
Don't call dispatch_release if dispatch_queue_t is declared as Objective-C object.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
MapView/Map/RMMemoryCache.m
MapView/Map/RMTileCache.m
MapView/Map/RMMemoryCache.m
View file @
833ef01
...
...
@@ -65,7 +65,9 @@
_memoryCache
=
nil
;
});
#if ! OS_OBJECT_USE_OBJC
dispatch_release
(
_memoryCacheQueue
);
#endif
}
-
(
void
)
didReceiveMemoryWarning
...
...
MapView/Map/RMTileCache.m
View file @
833ef01
...
...
@@ -132,7 +132,9 @@
_tileCaches
=
nil
;
});
#if ! OS_OBJECT_USE_OBJC
dispatch_release
(
_tileCacheQueue
);
#endif
}
-
(
void
)
addCache
:
(
id
<
RMTileCache
>
)
cache
...
...
Please
register
or
login
to post a comment