podgorskiy / bimpy

imgui for python
https://podgorskiy.github.io/bimpy/
MIT License
202 stars 33 forks source link

Fix various shortcomings in context class. #29

Closed JoelLinn closed 3 years ago

JoelLinn commented 4 years ago

Makes the context class more correct and robust against hard crashes.

for example the following code previously crashed:

import bimpy

ctx = bimpy.Context()

del ctx # will crash on object destruction

# other code
podgorskiy commented 3 years ago

Looks great! Thank you!