This is an automated email from the ASF dual-hosted git repository.

baodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new b79ead0  Fix segament falt when use token auth (#407)
b79ead0 is described below

commit b79ead00441779a348e921f1aa638f1e2dce35c9
Author: Baodi Shi <[email protected]>
AuthorDate: Fri Mar 7 17:19:00 2025 +0800

    Fix segament falt when use token auth (#407)
---
 src/Authentication.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Authentication.cc b/src/Authentication.cc
index 226e74f..c340821 100644
--- a/src/Authentication.cc
+++ b/src/Authentication.cc
@@ -97,7 +97,7 @@ Napi::Object Authentication::Init(Napi::Env env, Napi::Object 
exports) {
 }
 
 Authentication::Authentication(const Napi::CallbackInfo &info)
-    : Napi::ObjectWrap<Authentication>(info), cAuthentication(nullptr) {
+    : Napi::ObjectWrap<Authentication>(info), cAuthentication(nullptr), 
tokenSupplier(nullptr) {
   Napi::Env env = info.Env();
   Napi::HandleScope scope(env);
 

Reply via email to