Update src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_on_dllmain.cpp

This commit is contained in:
Karthik Nadig 2020-09-10 12:41:40 -07:00 committed by GitHub
parent 78bd26571e
commit c071686879
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ class NotificationHelper {
public:
#pragma warning( push )
#pragma warning( disable : 4722 )
// disable c4722 here: Destructor newver returns warning. Compiler sees ExitThread and assumes that
// disable c4722 here: Destructor never returns warning. Compiler sees ExitThread and assumes that
// there is a potential memory leak.
~NotificationHelper(){
std::string eventName("_pydevd_pid_event_");
@ -75,4 +75,4 @@ BOOL WINAPI DllMain(
else if(fdwReason == DLL_PROCESS_DETACH){
}
return true;
}
}