Skip to content

Commit 494eede

Browse files
committed
Exception ignored from cffi callback <function NgSpiceShared._background_thread_running at 0x000000004999c720>, trying to convert the result back to C:
1 parent 7f9b8a6 commit 494eede

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PySpice/Spice/NgSpice/Shared.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ def _background_thread_running(is_running, ngspice_id, user_data):
709709
self = ffi.from_handle(user_data)
710710
self._logger.debug('ngspice_id-{} background_thread_running {}'.format(ngspice_id, is_running))
711711
self._is_running = is_running
712+
return 0
712713

713714
##############################################
714715

0 commit comments

Comments
 (0)