love.conf not using love.quit when closed

General discussion about LÖVE, Lua, game development, puns, and unicorns.
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

love.conf not using love.quit when closed

Post by davisdude »

It came to my attention recently that love.conf doesn't go to love.quit when closed. It bypasses it completely. I was just wondering why it did that. For speed, because of callbacks being hard/impossible?
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: love.conf not using love.quit when closed

Post by bartbes »

I'm not sure what this is even supposed to mean, how is love.conf 'closed'?
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: love.conf not using love.quit when closed

Post by davisdude »

Oh, not love.conf, the console. My bad. :P
Ya' know, the little console window...
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: love.conf not using love.quit when closed

Post by bartbes »

You mean that if you close the console it kills love? Yeah.. that's kind of windows for you, there.
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: love.conf not using love.quit when closed

Post by davisdude »

No. I'm saying that when you close the window it completely bypasses love.quit.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: love.conf not using love.quit when closed

Post by Davidobot »

davisdude wrote:No. I'm saying that when you close the window it completely bypasses love.quit.
Really? Never encountered that before. :|
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: love.conf not using love.quit when closed

Post by bartbes »

Kills, yes.
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: love.conf not using love.quit when closed

Post by davisdude »

I was just wondering why it does that? Is it just functionality, or just because?
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: love.conf not using love.quit when closed

Post by Nixola »

davisdude wrote:I was just wondering why it does that? Is it just functionality, or just because?
Closing the console kills LÖVE instantly on every OS (well, at least Windows and Ubuntu), I think it's normal; the difference is that the latter actually asks you if you want to do that while Windows doesn't care and kills it right away.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: love.conf not using love.quit when closed

Post by Robin »

Nixola wrote:Closing the console kills LÖVE whatever programs are associated with that console instantly on every OS.
FTFY. ;)

If you don't like what it does, take it up with Microsoft.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Majestic-12 [Bot] and 3 guests