Skip to content

Commit

Permalink
[GL] Print exceptions raised during disposal of context
Browse files Browse the repository at this point in the history
  • Loading branch information
hyazinthh committed Apr 30, 2024
1 parent ff65dd7 commit b5315c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Aardvark.Rendering.GL/Core/Context.fs
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@ type Context(runtime : IRuntime, createContext : ContextHandle option -> Context
ContextHandle.delete c

parentContext |> Option.iter ContextHandle.delete
with _ ->
()
with exn ->
Log.error "[GL] Failed to dispose context: %A" exn

interface IDisposable with
member x.Dispose() = x.Dispose()

0 comments on commit b5315c7

Please sign in to comment.