Inside my plugin, sometimes I get the following error:
Boost.Python.ArgumentError: Python argument types in
sublime.set_timeout(function, float)
did not match C++ signature:
set_timeout(boost::python::api::object, int)
I call it such as:
new_delay = changed + 2 - time.time()
func = lambda: deferred_get_list(view, changed)
sublime.set_timeout(func, new_delay)
Can anyone spot what I’m doing wrong? thanks!