View Single Post
Old 10-18-2020, 08:29 AM   #54
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,427
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, it's the exact same code path. Restart happens in gui2/main.py and there only, all the various restart methods simply set a flag that code checks.

Quote:
Originally Posted by georgemk View Post
Right well I disabled all the non Microsoft services, rebooted and it made zero difference.

However the discovery that Calibre will always restart when you click the restart button in the Plugins dialog box does mean that there is a different code path for that restart compared to the keyboard restart or Preference menu. I had a look at the code but don't understand the code flow.

I'm leaving it here as it isn't essential but at least others will find this thread when searching should they have the same issue.

I'll just have to add a plugin if I want to restart
kovidgoyal is offline   Reply With Quote