Skip to content

Commit 4186b42

Browse files
committed
fix string related bug in headless
1 parent d49274f commit 4186b42

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/headlessutils.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ std::string outputDir;
3737
void asyncfunc(uv_async_t* handle) {
3838
Nan::HandleScope scope;
3939
v8::Isolate* isolate = v8::Isolate::GetCurrent();
40-
printf("outputdir in asyncfunc is %s\n", outputDir.c_str());
4140
v8::Local<v8::Value> argv[] = { v8::String::NewFromUtf8(isolate, outputDir.c_str()) };
4241
headless::zipFunction->Call(1, argv);
4342
}
@@ -55,7 +54,6 @@ void stop() {
5554
}
5655

5756
void zip(const char* dir) {
58-
printf("Headless utils: Outputdir = %s\n", dir);
5957
outputDir = std::string(dir);
6058
uv_async_send(&async_zip);
6159
}

0 commit comments

Comments
 (0)