Remove socket prewarming

The potential for breakage is too high, and I am working on an
alternative solution that will be better long term.

Prewarming is still used for kittens launched via keybindings
This commit is contained in:
Kovid Goyal
2022-08-20 13:38:33 +05:30
parent 4cc0138a28
commit 44ccdd36d6
11 changed files with 13 additions and 1278 deletions

View File

@@ -920,7 +920,7 @@ def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 's
os.makedirs(launcher_dir, exist_ok=True)
os.makedirs(build_dir, exist_ok=True)
objects = []
for src in ('kitty/launcher/main.c', 'kitty/launcher/prewarm.c'):
for src in ('kitty/launcher/main.c',):
obj = os.path.join(build_dir, src.replace('/', '-').replace('.c', '.o'))
objects.append(obj)
cmd = env.cc + cppflags + cflags + ['-c', src, '-o', obj]