Skip to content

Commit

Permalink
Fix missing map usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jerbob92 committed Nov 19, 2024
1 parent 5d932a9 commit cb7b22f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/implementation_webassembly/fpdf_progressive.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ func (p *PdfiumImplementation) FPDF_RenderPage_Continue(request *requests.FPDF_R
Callback: request.NeedToPauseNowCallback,
}

PauseHandlesLock.Lock()
PauseHandles[pageHandle.nativeRef] = pauseHandle
PauseHandlesLock.Unlock()
PauseHandles.Mutex.Lock()
PauseHandles.Refs[pageHandle.nativeRef] = pauseHandle
PauseHandles.Mutex.Unlock()
pausePointer = newPausePointer
}

Expand Down

0 comments on commit cb7b22f

Please sign in to comment.