I have class method Base.initializeSignalHandler which calls init_signal_handler which takes a staticCFunction lambda, however the program compiles and executes, but doesn’t run init_signal_handler.



Can anyone give me a direction where to check for error.
My exact understanding of
function- must be static , i.e. an (unbound) reference to a Kotlin function or a closure which doesn’t capture any variable
is not clear, is this the fault maybe?