node-pty 1.1.0-beta33 → 1.1.0-beta34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/win/conpty.cc +1 -1
package/package.json
CHANGED
package/src/win/conpty.cc
CHANGED
|
@@ -428,7 +428,7 @@ static Napi::Value PtyConnect(const Napi::CallbackInfo& info) {
|
|
|
428
428
|
|
|
429
429
|
HANDLE hLibrary = LoadConptyDll(info, useConptyDll);
|
|
430
430
|
bool fLoadedDll = hLibrary != nullptr;
|
|
431
|
-
if (fLoadedDll)
|
|
431
|
+
if (useConptyDll && fLoadedDll)
|
|
432
432
|
{
|
|
433
433
|
PFNRELEASEPSEUDOCONSOLE const pfnReleasePseudoConsole = (PFNRELEASEPSEUDOCONSOLE)GetProcAddress(
|
|
434
434
|
(HMODULE)hLibrary, "ConptyReleasePseudoConsole");
|