chore: fix typo

This commit is contained in:
Nomango 2023-09-25 00:57:02 +08:00
parent 88c758b47c
commit 1e65028321
3 changed files with 3 additions and 3 deletions

View File

@ -260,7 +260,7 @@ void HttpModule::NetworkThread()
response_queue_.push(response); response_queue_.push(response);
response_mutex_.unlock(); response_mutex_.unlock();
Application::GetInstance().PreformInMainThread(Closure(this, &HttpModule::DispatchResponseCallback)); Application::GetInstance().PerformInMainThread(Closure(this, &HttpModule::DispatchResponseCallback));
} }
} }

View File

@ -235,7 +235,7 @@ void Application::Render()
renderer.Present(); renderer.Present();
} }
void Application::PreformInMainThread(Function<void()> func) void Application::PerformInMainThread(Function<void()> func)
{ {
std::lock_guard<std::mutex> lock(perform_mutex_); std::lock_guard<std::mutex> lock(perform_mutex_);
functions_to_perform_.push(func); functions_to_perform_.push(func);

View File

@ -143,7 +143,7 @@ public:
* @details 线 Kiwano * @details 线 Kiwano
* @param func * @param func
*/ */
void PreformInMainThread(Function<void()> func); void PerformInMainThread(Function<void()> func);
/** /**
* \~chinese * \~chinese