Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
aabf284e
authored
Jan 17, 2025
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed 首次安装开播可能崩溃的问题
parent
6df54f9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.m
View file @
aabf284e
...
...
@@ -202,6 +202,8 @@
[[
NSFileManager
defaultManager
]
removeItemAtPath
:
bytedanceResource
error
:
nil
];
}
dispatch_async
(
dispatch_get_global_queue
(
0
,
0
),
^
{
NSString
*
bdurl
=
FUSLiveHelper
.
shareInstance
.
livePushConfig
.
bdurl
;
NSString
*
bdurlmd5
=
FUSLiveHelper
.
shareInstance
.
livePushConfig
.
bdurlmd5
;
[
FUSResourceDownloader
.
shareInstance
fus_removeTaskKeyWithDownloadUrl
:
bdurl
md5
:
bdurlmd5
];
...
...
@@ -211,6 +213,8 @@
[
FUSResourceDownloader
.
shareInstance
fus_removeTaskKeyWithDownloadUrl
:
licbag
md5
:
licbagmd5
];
dispatch_async
(
dispatch_get_main_queue
(),
^
{
FUSDownloadResourceModel
*
downloadModel
=
[[
FUSDownloadResourceModel
alloc
]
init
];
downloadModel
.
resourceUrl
=
FUSLiveHelper
.
shareInstance
.
livePushConfig
.
bdurl
;
downloadModel
.
md5
=
FUSLiveHelper
.
shareInstance
.
livePushConfig
.
bdurlmd5
;
...
...
@@ -334,6 +338,8 @@
[
FUSResourceDownloader
.
shareInstance
fus_addDownloadResource
:
downloadModel
];
[
FUSResourceDownloader
.
shareInstance
fus_addDownloadResource
:
licbagDownloadModel
];
});
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment