Skip to content

Commit

Permalink
add pollocks
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEady committed Mar 19, 2023
1 parent 07bfdc5 commit 53c8ab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pol-core/pol/dap/server.cpp
Expand Up @@ -640,6 +640,7 @@ dap::ResponseOrError<dap::StackTraceResponse> DapDebugClientThread::handle_stack
dap::ResponseOrError<dap::ScopesResponse> DapDebugClientThread::handle_scopes(
const dap::ScopesRequest& request )
{
PolLock lock;
if ( !_uoexec_wptr.exists() )
{
return dap::Error( "No script attached." );
Expand Down Expand Up @@ -687,6 +688,7 @@ dap::ResponseOrError<dap::ScopesResponse> DapDebugClientThread::handle_scopes(
dap::ResponseOrError<dap::VariablesResponse> DapDebugClientThread::handle_variables(
const dap::VariablesRequest& request )
{
PolLock lock;
if ( !_uoexec_wptr.exists() )
{
return dap::Error( "No script attached." );
Expand Down

0 comments on commit 53c8ab0

Please sign in to comment.