Beware of addInput() with output params

Hello! I got VCV Rack crash with new module that I build from source. It is compiled without any error. But when I started VCV Rack, it is crashes with some errors like this:

Rack(_ZN4rack3app12ModuleWidget8addInputEPNS0_10PortWidgetE+0xb6) [0x5a58cc].

It is not a big issue, but it is scared me a little because nothing happened in first time compiles.

I forgot change addInput() and createInput() functions with addOutput() and createOutput() respectively.

Sorry for not good English. It is not my main language.

2 Likes