chore: Add deprecation notice to JSIConverter<std::future> (#351)

* chore: Add deprecation notice to `JSIConverter<std::future>`

* Update JSIConverter+Future.hpp

* chore: Fix order of initialization
This commit is contained in:
Marc Rousavy
2024-11-19 12:35:20 +01:00
committed by GitHub
parent e9318343b7
commit dc1fdb0ad8
2 changed files with 4 additions and 1 deletions
@@ -12,7 +12,7 @@
namespace margelo::nitro {
ThreadPool::ThreadPool(const char* name, size_t initialThreadsCount, size_t maxThreadsCount)
: _isAlive(true), _name(name), _threadCountLimit(maxThreadsCount) {
: _isAlive(true), _threadCountLimit(maxThreadsCount), _name(name) {
Logger::log(LogLevel::Info, TAG, "Creating ThreadPool \"%s\" with %i initial threads (max: %i)...", name, initialThreadsCount,
maxThreadsCount);