Skip to content
  • Savely Krasovsky's avatar
    feat: add query-session-end and improve session-end events on Windows (#44598) · c5ea177b
    Savely Krasovsky authored
    
    
    * feat: add query-session-end event for Windows
    
    * fix: remove debug line
    
    * feat: notify with reason on session-end
    
    * docs: add comments and return params
    
    * docs: add same docs to the BrowserWindow
    
    * fix: add shutdown reason if lParam == 0
    
    * docs: remove 'force' word
    
    * docs: revert multithreading.md change
    
    * docs: add reasons documentation, reason variable renamed to reasons
    
    * docs: improve 'shutdown' reason wording
    
    * docs: reword with 'can be'
    
    * fix: pass reasons by reference
    
    * fix: use newer approach which expose reasons value directly on Event object
    
    * docs: add escaping
    
    * style: linter fixes
    
    * fix: project now should compile
    
    * fix: EmitWithoutEvent method added, EmitWithEvent moved to private again
    
    * docs: typo fix
    
    Co-authored-by: default avatarSam Maddock <samuel.maddock@gmail.com>
    
    * docs: dedicated WindowSessionEndEvent type created
    
    * docs: better wording for session-end event ...
    c5ea177b