muerrilla / sd-webui-detail-daemon

Extension for A1111's Stable Diffusion Webui. Controls amount of detail.
MIT License
91 stars 4 forks source link

fix don't remove all call back #2

Closed w-e-w closed 5 months ago

w-e-w commented 5 months ago

remove_current_script_callbacks() removes all callbackks from this script remove_callbacks_for_function(XXX) only removes XXX

remove_current_script_callbacks() was fine before since there's only one call back but I added another callback that shouldn't be removed using remove_current_script_callbacks() will cause thinks to break

muerrilla commented 5 months ago

Thanks a lot.