mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
fix cvs
This commit is contained in:
parent
d7b1d9ba70
commit
0c506ea46c
3 changed files with 5 additions and 1 deletions
|
@ -133,7 +133,7 @@ CPMAddPackage("gh:mity/md4c#e9ff661")
|
||||||
target_include_directories(${PROJECT_NAME} PRIVATE ${md4c_SOURCE_DIR}/src)
|
target_include_directories(${PROJECT_NAME} PRIVATE ${md4c_SOURCE_DIR}/src)
|
||||||
|
|
||||||
# Tulip hook (hooking)
|
# Tulip hook (hooking)
|
||||||
CPMAddPackage("gh:altalk23/TulipHook#fc1b943")
|
CPMAddPackage("gh:altalk23/TulipHook#ecbe8d7")
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME} md4c z TulipHook geode-sdk)
|
target_link_libraries(${PROJECT_NAME} md4c z TulipHook geode-sdk)
|
||||||
|
|
||||||
|
|
|
@ -357,6 +357,7 @@ void Loader::Impl::refreshModsList() {
|
||||||
|
|
||||||
// UI can be loaded now
|
// UI can be loaded now
|
||||||
m_earlyLoadFinished = true;
|
m_earlyLoadFinished = true;
|
||||||
|
m_earlyLoadFinishedCV.notify_all();
|
||||||
|
|
||||||
// load the rest of the mods
|
// load the rest of the mods
|
||||||
for (auto& mod : m_modsToLoad) {
|
for (auto& mod : m_modsToLoad) {
|
||||||
|
@ -378,6 +379,7 @@ void Loader::Impl::updateAllDependencies() {
|
||||||
|
|
||||||
void Loader::Impl::waitForModsToBeLoaded() {
|
void Loader::Impl::waitForModsToBeLoaded() {
|
||||||
auto lock = std::unique_lock(m_earlyLoadFinishedMutex);
|
auto lock = std::unique_lock(m_earlyLoadFinishedMutex);
|
||||||
|
log::debug("Waiting for mods to be loaded... {}", bool(m_earlyLoadFinished));
|
||||||
m_earlyLoadFinishedCV.wait(lock, [this] {
|
m_earlyLoadFinishedCV.wait(lock, [this] {
|
||||||
return bool(m_earlyLoadFinished);
|
return bool(m_earlyLoadFinished);
|
||||||
});
|
});
|
||||||
|
|
|
@ -329,10 +329,12 @@ void SentAsyncWebRequest::Impl::cancel() {
|
||||||
|
|
||||||
void SentAsyncWebRequest::Impl::pause() {
|
void SentAsyncWebRequest::Impl::pause() {
|
||||||
m_paused = true;
|
m_paused = true;
|
||||||
|
m_statusCV.notify_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SentAsyncWebRequest::Impl::resume() {
|
void SentAsyncWebRequest::Impl::resume() {
|
||||||
m_paused = false;
|
m_paused = false;
|
||||||
|
m_statusCV.notify_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SentAsyncWebRequest::Impl::finished() const {
|
bool SentAsyncWebRequest::Impl::finished() const {
|
||||||
|
|
Loading…
Reference in a new issue