Thanks, Troy! That resolved the issue for me. The "hanging" is not happening any longer now.

The reason why I'm calling deleteModule is that the construction/initialization of SWMgr is taking some time (especially on less powerful CPUs). By calling deleteModule I can keep using the same instance of SWMgr after removing a module and it will still reflect current status in terms of what's in its "cache".

Best regards,
Tobias

On 9/18/20 10:38 PM, Troy A. Griffitts wrote:

I think Tobias is having trouble with SWMgr::deleteModule and not the uninstalling part.  I don't think most of us actually call deleteModule on SWMgr.  I usually just delete the SWMgr and make a new SWMgr after the user is done installing or uninstalling modules.

That is new code and I see the bug.  Let me commit a fix and see if it solved things for you.  I am surprised it hangs though.

Just committed.  Give it a try and let me know.


On 9/18/20 10:10 PM, Karl Kleinpaste wrote:
FYI, I have no trouble uninstalling or re-installing modules in my newly-built RC2, not seeing the problem Tobias reports.

_______________________________________________
sword-devel mailing list:sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to