mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-23 06:50:12 +00:00
fix error
Signed-off-by: zyxzyx <zhangyixin19@huawei.com>
This commit is contained in:
parent
417871473e
commit
acd8901754
@ -61,8 +61,8 @@ RawStackPtr StackDataRepeater::GetRawStack()
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(cacheMutex_);
|
||||
if (!rawDataCacheQueue_.empty()) {
|
||||
RawStackPtr rawStack = rawDataCacheQueue_.back();
|
||||
rawDataCacheQueue_.pop_back();
|
||||
RawStackPtr rawStack = rawDataCacheQueue_.front();
|
||||
rawDataCacheQueue_.pop_front();
|
||||
return rawStack;
|
||||
}
|
||||
return std::make_shared<RawStack>();
|
||||
|
Loading…
Reference in New Issue
Block a user